]> git.lyx.org Git - features.git/blobdiff - src/support/ExceptionMessage.h
Stop using a GCC extension for an unprintable character in regex.
[features.git] / src / support / ExceptionMessage.h
index 0bf59e58a232d9ab35548fe2a503f318a48b3ab9..c1fe8b40d82bd51e92ce81b21b1d8d2c754cf955 100644 (file)
@@ -50,8 +50,8 @@ public:
        : type_(type), title_(title), details_(details),
          message_(to_utf8(title_ + docstring::value_type('\n') + details_)) {}
 
-       virtual const char * what() const throw() { return message_.c_str(); }
-       virtual ~ExceptionMessage() throw() {}
+       const char * what() const noexcept override { return message_.c_str(); }
+       virtual ~ExceptionMessage() noexcept {}
 
        ExceptionType type_;
        docstring title_;