mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-01 10:59:02 +08:00
wip - no-exceptions support
This commit is contained in:
@@ -245,7 +245,7 @@ SPDLOG_INLINE void registry::throw_if_exists_(const std::string &logger_name)
|
||||
{
|
||||
if (loggers_.find(logger_name) != loggers_.end())
|
||||
{
|
||||
throw spdlog_ex("logger with name '" + logger_name + "' already exists");
|
||||
SPDLOG_THROW spdlog_ex("logger with name '" + logger_name + "' already exists");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user