Skip to content

Commit d11fc0d

Browse files
author
Thumperrr
committed
Merge pull request #16 from Interlocked/patch-2
Interlocked - Update Exception.h Removed deprecated throw( ) specifiers.
2 parents 6560f39 + a90e3d0 commit d11fc0d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Exception.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ namespace chesspp
1010
{
1111
using std::exception::what;
1212
public:
13-
exception() throw() {}
14-
virtual ~exception() throw() {};
15-
exception(const exception &) throw() {}
13+
exception() {}
14+
virtual ~exception() {};
15+
exception(const exception &) {}
1616

17-
exception(const std::string &_e) throw() : e(_e) {}
17+
exception(const std::string &_e) : e(_e) {}
1818
virtual const char *what() { return e.c_str(); }
1919

2020
private:
2121
std::string e;
2222
};
2323
}
2424

25-
#endif
25+
#endif

0 commit comments

Comments
 (0)