mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
sys: Fixed many clang tidy warnings and typos
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user