Make TableKeyNotDefinedException::what() const noexcept.

This commit is contained in:
Peter Johnson
2015-12-09 01:13:55 -08:00
parent 60647a2f8c
commit 0d7106450b
2 changed files with 4 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class TableKeyNotDefinedException : public std::exception {
*/
TableKeyNotDefinedException(llvm::StringRef key);
~TableKeyNotDefinedException() noexcept;
const char* what();
const char* what() const noexcept override;
private:
std::string msg;