mirror of
https://github.com/thestk/stk
synced 2026-04-23 15:48:37 +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) {}
|
: std::exception(), message_(message), type_(type) {}
|
||||||
|
|
||||||
//! The destructor.
|
//! The destructor.
|
||||||
virtual ~StkError(void) {};
|
virtual ~StkError(void) throw() {};
|
||||||
|
|
||||||
//! Prints thrown error message to stderr.
|
//! Prints thrown error message to stderr.
|
||||||
virtual void printMessage(void) { std::cerr << '\n' << message_ << "\n\n"; }
|
virtual void printMessage(void) { std::cerr << '\n' << message_ << "\n\n"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user