This commit is contained in:
gabime
2014-12-21 02:47:04 +02:00
parent fa677017a6
commit 40a55b8e34
38 changed files with 2995 additions and 2995 deletions

View File

@@ -71,7 +71,7 @@ static const char* level_names[] { "trace", "debug", "info", "notice", "warning"
inline const char* to_str(spdlog::level::level_enum l)
{
return level_names[l];
return level_names[l];
}
} //level
@@ -81,13 +81,13 @@ 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 SPDLOG_NOEXCEPT override
{
return _msg.c_str();
}
spdlog_ex(const std::string& msg) :_msg(msg) {}
const char* what() const SPDLOG_NOEXCEPT override
{
return _msg.c_str();
}
private:
std::string _msg;
std::string _msg;
};