diff --git a/cpp/evaluate-reverse-polish-notation.cpp b/cpp/evaluate-reverse-polish-notation.cpp index 58cddbe..8e5e2a8 100644 --- a/cpp/evaluate-reverse-polish-notation.cpp +++ b/cpp/evaluate-reverse-polish-notation.cpp @@ -4,8 +4,8 @@ #include class Solution { - static auto get_function(const std::string &op) - -> std::function { + static auto + get_function(const std::string &op) -> std::function { if (op == "+") { return std::plus{}; } else if (op == "-") {