diff options
author | Tor Egge <Tor.Egge@online.no> | 2023-02-08 13:05:52 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2023-02-08 13:05:52 +0100 |
commit | 0c9e40e402af05365895d315b0b90879dc5a3168 (patch) | |
tree | 0c65dbfdd53620d62629a2115a2f6e8bb4f9d753 /logd | |
parent | cc1637f6c8451cc9bd47e2d8965db28a00848fb2 (diff) |
Stop using throw() as noexcept specifier.
Diffstat (limited to 'logd')
-rw-r--r-- | logd/src/logd/exceptions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/src/logd/exceptions.h b/logd/src/logd/exceptions.h index f2242764060..acee03dcda5 100644 --- a/logd/src/logd/exceptions.h +++ b/logd/src/logd/exceptions.h @@ -12,7 +12,7 @@ private: public: MsgException(const std::string & s) : _string(s) {} ~MsgException() override {} - const char *what() const throw() override { return _string.c_str(); } + const char *what() const noexcept override { return _string.c_str(); } }; class ConnectionException : public MsgException |