sys: Fixed many clang tidy warnings and typos

This commit is contained in:
WerWolv
2022-03-04 20:52:39 +01:00
parent 57c449936f
commit 327e904dbc
64 changed files with 91 additions and 152 deletions

View File

@@ -164,7 +164,7 @@ namespace hex {
else if (expression.empty())
break;
auto newInputQueue = parseInput(expression.c_str());
auto newInputQueue = parseInput(expression);
auto postfixTokens = toPostfix(newInputQueue);
auto result = evaluate(postfixTokens);
@@ -321,7 +321,7 @@ namespace hex {
std::optional<long double> MathEvaluator::evaluate(const std::string &input) {
auto inputQueue = parseInput(input.c_str());
auto inputQueue = parseInput(input);
std::string resultVariable = "ans";