From eb23d505f86f01d61b10ef0899f2f7b2b377ec6d Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 22 Mar 2020 00:09:56 +0200 Subject: [PATCH] resolve issue #1483 --- include/spdlog/common-inl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/common-inl.h b/include/spdlog/common-inl.h index dcd1fea0..be0d8f8e 100644 --- a/include/spdlog/common-inl.h +++ b/include/spdlog/common-inl.h @@ -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