]> git.lyx.org Git - features.git/blobdiff - src/support/ExceptionMessage.h
Revert "Amend 3093789e for cmake build"
[features.git] / src / support / ExceptionMessage.h
index 9cd373c3859b3af0715d4eca4bc382e0bff365de..c1fe8b40d82bd51e92ce81b21b1d8d2c754cf955 100644 (file)
@@ -8,9 +8,6 @@
  *
  * Full author contact details are available in file CREDITS.
  *
- * A store of the paths to the various different directoies used
- * by LyX. These paths differ markedly from one OS to another,
- * following the local Windows, MacOS X or Posix conventions.
  */
 #ifndef LYX_MESSAGE_H
 #define LYX_MESSAGE_H
@@ -53,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_;