Commit ebc50987 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

C++<11 also declares ~bad_any_cast() as `throw()`

parent dfd84c18
......@@ -35,6 +35,9 @@ namespace gem
: result(std::string("bad cast (")+src.name() + "->" + dest.name()+")")
{ }
virtual ~bad_any_cast(void)
#if __cplusplus <= 199711L
throw()
#endif
{ }
virtual const char* what(void) const
#if __cplusplus > 199711L
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment