diff options
Diffstat (limited to 'zencore')
| -rw-r--r-- | zencore/httpserver.cpp | 2 | ||||
| -rw-r--r-- | zencore/include/zencore/httpserver.h | 2 | ||||
| -rw-r--r-- | zencore/include/zencore/zencore.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/zencore/httpserver.cpp b/zencore/httpserver.cpp index 2bfa25dea..e85c5ed2b 100644 --- a/zencore/httpserver.cpp +++ b/zencore/httpserver.cpp @@ -1521,7 +1521,7 @@ HttpServerException::HttpServerException(const char* Message, uint32_t Error) : } const char* -HttpServerException::what() const +HttpServerException::what() const noexcept { return m_Message.c_str(); } diff --git a/zencore/include/zencore/httpserver.h b/zencore/include/zencore/httpserver.h index 493ea63e9..19ac8732e 100644 --- a/zencore/include/zencore/httpserver.h +++ b/zencore/include/zencore/httpserver.h @@ -263,7 +263,7 @@ class HttpServerException : public std::exception public: HttpServerException(const char* Message, uint32_t Error); - virtual const char* what() const override; + virtual const char* what() const noexcept override; private: uint32_t m_ErrorCode; diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h index 4f7f2edc1..87e09d014 100644 --- a/zencore/include/zencore/zencore.h +++ b/zencore/include/zencore/zencore.h @@ -99,7 +99,7 @@ public: AssertException(const char* Msg); ~AssertException(); - [[nodiscard]] virtual char const* what() const override { return m_Msg.c_str(); } + [[nodiscard]] virtual char const* what() const noexcept override { return m_Msg.c_str(); } private: std::string m_Msg; |