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