Replaced throw() with noexcept and removed some unneeded ';'.

This commit is contained in:
Jens Breitbart
2014-12-20 15:06:36 +01:00
parent 7674bdb40a
commit 67b633880b
4 changed files with 5 additions and 5 deletions

View File

@@ -71,8 +71,8 @@ inline const char* to_str(spdlog::level::level_enum l)
class spdlog_ex : public std::exception
{
public:
spdlog_ex(const std::string& msg) :_msg(msg) {};
const char* what() const throw() override
spdlog_ex(const std::string& msg) :_msg(msg) {}
const char* what() const noexcept override
{
return _msg.c_str();
}