We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6560f39 + a90e3d0 commit d11fc0dCopy full SHA for d11fc0d
src/Exception.h
@@ -10,16 +10,16 @@ namespace chesspp
10
{
11
using std::exception::what;
12
public:
13
- exception() throw() {}
14
- virtual ~exception() throw() {};
15
- exception(const exception &) throw() {}
+ exception() {}
+ virtual ~exception() {};
+ exception(const exception &) {}
16
17
- exception(const std::string &_e) throw() : e(_e) {}
+ exception(const std::string &_e) : e(_e) {}
18
virtual const char *what() { return e.c_str(); }
19
20
private:
21
std::string e;
22
};
23
}
24
25
-#endif
+#endif
0 commit comments