diff --git a/ex01/src/main.cpp b/ex01/src/main.cpp index ae700bf..77babe2 100644 --- a/ex01/src/main.cpp +++ b/ex01/src/main.cpp @@ -10,7 +10,7 @@ int addition(int a, int b) { return (a + b); } int division(int a, int b) { return (a / b); } int multiplication(int a, int b) { return (a * b); } -int calculate(std::stack& nums, std::stack& operators) +int calculate(std::stack& nums, std::stack& operators) { if (nums.size() < 2 || operators.size() == 0) return 2; @@ -50,7 +50,7 @@ int main(int ac, char** av) return 1; } - std::stack nums; + std::stack nums; std::stack operators; for (size_t i = 0; av[1][i] != '\0'; i++)