Skip to content

Commit

Permalink
style(error): fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Jun 21, 2023
1 parent 2e62548 commit 545fc43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion error/include/error/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
/**
Expand Down
4 changes: 1 addition & 3 deletions error/src/error.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 545fc43

Please # to comment.