mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
Added throw() to ~StkError declaration to support all C++ versions.
This commit is contained in:
@@ -114,7 +114,7 @@ public:
|
||||
: std::exception(), message_(message), type_(type) {}
|
||||
|
||||
//! The destructor.
|
||||
virtual ~StkError(void) {};
|
||||
virtual ~StkError(void) throw() {};
|
||||
|
||||
//! Prints thrown error message to stderr.
|
||||
virtual void printMessage(void) { std::cerr << '\n' << message_ << "\n\n"; }
|
||||
|
||||
Reference in New Issue
Block a user