diff --git a/error/include/error/error.hpp b/error/include/error/error.hpp index 30a8947..bd70762 100644 --- a/error/include/error/error.hpp +++ b/error/include/error/error.hpp @@ -9,7 +9,7 @@ namespace error { */ class Error : public std::exception { private: - const char* message; /**< The error message. */ + const char* message; /**< The error message. */ public: /** diff --git a/error/src/error.cpp b/error/src/error.cpp index d0528da..0c2d874 100644 --- a/error/src/error.cpp +++ b/error/src/error.cpp @@ -4,8 +4,6 @@ namespace error { Error::Error(const char* message) : message(message) {} -const char* Error::what() const noexcept { - return message; -} +const char* Error::what() const noexcept { return message; } } // namespace error