diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-13 08:39:02 +0300 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-13 08:42:08 +0300 |
| commit | 6913c6d965d64481ed09fc06a43154f35e8bd914 (patch) | |
| tree | fa8d3f360a651a31fba4b91a09a5bba505a904c4 /server/common/error.hpp | |
| parent | Travis: only run clang-format on master (diff) | |
| download | math-server-6913c6d965d64481ed09fc06a43154f35e8bd914.tar.gz math-server-6913c6d965d64481ed09fc06a43154f35e8bd914.zip | |
clang-format all the code
Diffstat (limited to 'server/common/error.hpp')
| -rw-r--r-- | server/common/error.hpp | 6 |
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 |
