We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
throw()
1 parent a355fbf commit 2e19f7fCopy full SHA for 2e19f7f
src/config.cc
@@ -19,8 +19,8 @@ struct Token {
19
class TokenizeError : public exception {
20
public:
21
explicit TokenizeError(const string& msg = "tokenize error"): msg_(msg) { }
22
- ~TokenizeError() throw() {}
23
- virtual const char* what() const throw() {
+ ~TokenizeError() noexcept {}
+ virtual const char* what() const noexcept {
24
return msg_.c_str();
25
}
26
private:
0 commit comments