summaryrefslogtreecommitdiffstats
path: root/vespalog
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-02-08 13:05:52 +0100
committerTor Egge <Tor.Egge@online.no>2023-02-08 13:05:52 +0100
commit0c9e40e402af05365895d315b0b90879dc5a3168 (patch)
tree0c65dbfdd53620d62629a2115a2f6e8bb4f9d753 /vespalog
parentcc1637f6c8451cc9bd47e2d8965db28a00848fb2 (diff)
Stop using throw() as noexcept specifier.
Diffstat (limited to 'vespalog')
-rw-r--r--vespalog/src/logger/llreader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalog/src/logger/llreader.h b/vespalog/src/logger/llreader.h
index 1fadf2c6ae0..26d3bf3e4a5 100644
--- a/vespalog/src/logger/llreader.h
+++ b/vespalog/src/logger/llreader.h
@@ -12,8 +12,8 @@ private:
public:
MsgException(const MsgException &x) : std::exception(), _string(x._string) {}
MsgException(const char *s) : _string(s) {}
- ~MsgException() throw() {} // nothing to do
- const char *what() const throw() override { return _string; }
+ ~MsgException() override = default;
+ const char *what() const noexcept override { return _string; }
};
class InputBuf