From cf226d33969cf33b9bf85f9d002d3abbeb6d1db9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 12 May 2021 00:21:21 +0200 Subject: [PATCH] Use noexcept and override. --- src/cxml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); } -- 2.30.2