summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-12 00:21:21 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-12 00:21:21 +0200
commitcf226d33969cf33b9bf85f9d002d3abbeb6d1db9 (patch)
tree43650cc79a566b99065afd25572c96f05fbbb434
parentc51e7a03270d232d0e8c50e86377d8ce99df8fd2 (diff)
Use noexcept and override.v0.17.1
-rw-r--r--src/cxml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxml.h b/src/cxml.h
index 330cbb0..fbdd22f 100644
--- a/src/cxml.h
+++ b/src/cxml.h
@@ -55,7 +55,7 @@ public:
/** @return error message. Caller must not free the returned
* value.
*/
- char const * what () const throw () {
+ char const * what () const noexcept override {
return _message.c_str ();
}