summaryrefslogtreecommitdiffstats
path: root/include/exceptions.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/exceptions.hpp')
-rw-r--r--include/exceptions.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/exceptions.hpp b/include/exceptions.hpp
index 5cbad42..07ba4e2 100644
--- a/include/exceptions.hpp
+++ b/include/exceptions.hpp
@@ -26,9 +26,9 @@
namespace mastodonpp
{
-using std::uint16_t;
using std::exception;
using std::string;
+using std::uint16_t;
/*!
* @brief Exception for libcurl errors.
@@ -77,8 +77,7 @@ public:
*
* @since 0.1.0
*/
- [[nodiscard]]
- const char *what() const noexcept override;
+ [[nodiscard]] const char *what() const noexcept override;
private:
const string _message;
@@ -87,4 +86,4 @@ private:
} // namespace mastodonpp
-#endif // MASTODONPP_EXCEPTIONS_HPP
+#endif // MASTODONPP_EXCEPTIONS_HPP