Commit eb23d505 authored by gabime's avatar gabime

resolve issue #1483

parent 2400cf16
...@@ -65,12 +65,12 @@ SPDLOG_INLINE const char *spdlog_ex::what() const SPDLOG_NOEXCEPT ...@@ -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_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_INLINE void throw_spdlog_ex(std::string msg)
{ {
SPDLOG_THROW( spdlog_ex(std::move(msg))); SPDLOG_THROW(spdlog_ex(std::move(msg)));
} }
} // namespace spdlog } // namespace spdlog
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment