AnyScalar bad_cast fix

This commit is contained in:
Michael Davidsaver
2017-09-13 09:25:42 -05:00
parent e984802233
commit b612c6dbe6

View File

@ -34,11 +34,11 @@ public:
#if __cplusplus>=201103L
bad_cast() noexcept {}
virtual ~bad_cast() noexcept {}
virtual const char* what() noexcept
virtual const char* what() const noexcept
#else
bad_cast() throw() {}
virtual ~bad_cast() throw() {}
virtual const char* what() throw()
virtual const char* what() const throw()
#endif
{ return "bad_cast() type mis-match"; }
};