diff --git a/src/Exception.h b/src/Exception.h index e83dac4..eef0569 100644 --- a/src/Exception.h +++ b/src/Exception.h @@ -10,11 +10,11 @@ namespace chesspp { using std::exception::what; public: - exception() throw() {} - virtual ~exception() throw() {}; - exception(const exception &) throw() {} + exception() {} + virtual ~exception() {}; + exception(const exception &) {} - exception(const std::string &_e) throw() : e(_e) {} + exception(const std::string &_e) : e(_e) {} virtual const char *what() { return e.c_str(); } private: @@ -22,4 +22,4 @@ namespace chesspp }; } -#endif \ No newline at end of file +#endif