From 545fc431e0eb2252b149a44ad8ac6995ba6f50e9 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Wed, 21 Jun 2023 15:05:20 +0700 Subject: [PATCH] style(error): fix formatting --- error/include/error/error.hpp | 2 +- error/src/error.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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