mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Make TableKeyNotDefinedException::what() const noexcept.
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user