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

older versions of std::bad_cast:.what() where declared 'throw()'

pre C++-11
parent cbf99053
...@@ -39,6 +39,8 @@ namespace gem ...@@ -39,6 +39,8 @@ namespace gem
virtual const char* what(void) const virtual const char* what(void) const
#if __cplusplus > 199711L #if __cplusplus > 199711L
noexcept noexcept
#else
throw()
#endif #endif
{ {
return result.c_str(); return result.c_str();
......
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