resolve issue #1483

This commit is contained in:
gabime 2020-03-22 00:09:56 +02:00
parent 2400cf16a4
commit eb23d505f8

View File

@ -65,12 +65,12 @@ SPDLOG_INLINE const char *spdlog_ex::what() const SPDLOG_NOEXCEPT
SPDLOG_INLINE void throw_spdlog_ex(const std::string &msg, int last_errno)
{
SPDLOG_THROW( spdlog_ex(msg, last_errno));
SPDLOG_THROW(spdlog_ex(msg, last_errno));
}
SPDLOG_INLINE void throw_spdlog_ex(std::string msg)
{
SPDLOG_THROW( spdlog_ex(std::move(msg)));
SPDLOG_THROW(spdlog_ex(std::move(msg)));
}
} // namespace spdlog