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

@@ -12,6 +12,8 @@ TableKeyNotDefinedException::TableKeyNotDefinedException(llvm::StringRef key)
msg += key;
}
const char* TableKeyNotDefinedException::what() { return msg.c_str(); }
const char* TableKeyNotDefinedException::what() const noexcept {
return msg.c_str();
}
TableKeyNotDefinedException::~TableKeyNotDefinedException() noexcept {}