Skip to content
Snippets Groups Projects
Commit 75d4530f authored by Ian Bell's avatar Ian Bell
Browse files

what() is not permitted to throw in base

parent 5f949360
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ public:
const int code;
const std::string msg;
teqpcException(int code, const std::string& msg) : code(code), msg(msg) {};
const char *what() const override {
const char *what() const noexcept override {
return msg.c_str();
}
};
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment