mirror of
https://github.com/vcmi/vcmi.git
synced 2026-05-22 09:55:17 +02:00
Replace throws() with nothrow
This commit is contained in:
@@ -180,11 +180,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual ~cannotFulfillGoalException() throw ()
|
||||
{
|
||||
};
|
||||
|
||||
const char * what() const throw () override
|
||||
const char * what() const noexcept override
|
||||
{
|
||||
return msg.c_str();
|
||||
}
|
||||
@@ -203,11 +199,7 @@ public:
|
||||
msg = goal->toString();
|
||||
}
|
||||
|
||||
virtual ~goalFulfilledException() throw ()
|
||||
{
|
||||
};
|
||||
|
||||
const char * what() const throw () override
|
||||
const char * what() const noexcept override
|
||||
{
|
||||
return msg.c_str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user