aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/lexer/error.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/lexer/error.hpp')
-rw-r--r--server/lexer/error.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/lexer/error.hpp b/server/lexer/error.hpp
index ae6828d..72b3caa 100644
--- a/server/lexer/error.hpp
+++ b/server/lexer/error.hpp
@@ -13,9 +13,7 @@ namespace math::server {
class LexerError : public Error {
public:
- explicit LexerError(const std::string &what)
- : Error{"lexer error: " + what}
- { }
+ explicit LexerError(const std::string& what) : Error{"lexer error: " + what} {}
};
-}
+} // namespace math::server