diff options
author | David Robillard <d@drobilla.net> | 2021-01-02 14:46:29 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-02 14:46:29 +0100 |
commit | bd0214b1da66225f410641692e89e492f668472a (patch) | |
tree | 80956f373070734dc14a7f103e5fa21a5baa0b6e /include/raul/Exception.hpp | |
parent | 5c263125aeae87dcd4694a4d3a4781bda7247a00 (diff) | |
download | raul-bd0214b1da66225f410641692e89e492f668472a.tar.gz raul-bd0214b1da66225f410641692e89e492f668472a.tar.bz2 raul-bd0214b1da66225f410641692e89e492f668472a.zip |
Format all code with clang-format
Diffstat (limited to 'include/raul/Exception.hpp')
-rw-r--r-- | include/raul/Exception.hpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/raul/Exception.hpp b/include/raul/Exception.hpp index 40a4382..919ece2 100644 --- a/include/raul/Exception.hpp +++ b/include/raul/Exception.hpp @@ -23,16 +23,19 @@ namespace Raul { /** An exception (unexpected error). */ -class Exception : public std::exception { +class Exception : public std::exception +{ public: - // NOLINTNEXTLINE(modernize-use-override, hicpp-use-override) - const char* what() const noexcept final override { return _what.c_str(); } + // NOLINTNEXTLINE(modernize-use-override, hicpp-use-override) + const char* what() const noexcept final override { return _what.c_str(); } protected: - explicit Exception(std::string what) : _what(std::move(what)) {} + explicit Exception(std::string what) + : _what(std::move(what)) + {} private: - const std::string _what; + const std::string _what; }; } // namespace Raul |