projects
/
libcxml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c51e7a0
)
Use noexcept and override.
v0.17.1
author
Carl Hetherington
<cth@carlh.net>
Tue, 11 May 2021 22:21:21 +0000
(
00:21
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 11 May 2021 22:21:21 +0000
(
00:21
+0200)
src/cxml.h
patch
|
blob
|
history
diff --git
a/src/cxml.h
b/src/cxml.h
index 330cbb0aed9072f33d5927dfc0acbe021fa54598..fbdd22fcb47befc097d6052d360352b51a7e57b8 100644
(file)
--- 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 ();
}