Remove exception specifications in favor of noexcept keyword

This commit is contained in:
Jason Turner
2011-09-21 12:22:52 -06:00
parent d04960bc4a
commit 535adce298
8 changed files with 30 additions and 30 deletions

View File

@@ -19,15 +19,15 @@ namespace chaiscript {
class bad_any_cast : public std::bad_cast
{
public:
bad_any_cast() throw()
bad_any_cast() noexcept
: m_what("bad any cast")
{
}
virtual ~bad_any_cast() throw() {}
virtual ~bad_any_cast() noexcept {}
/// \brief Description of what error occured
virtual const char * what() const throw()
virtual const char * what() const noexcept
{
return m_what.c_str();
}
@@ -79,7 +79,7 @@ namespace chaiscript {
public:
// construct/copy/destruct
Any() {}
Any() = default;
Any(const Any &t_any)
{