Added nonreturn sepcifier to fix #1748

This commit is contained in:
gabime 2021-03-17 00:25:26 +02:00
parent 37d76b961c
commit 44e1f9f682

View File

@ -206,8 +206,8 @@ private:
std::string msg_;
};
SPDLOG_API void throw_spdlog_ex(const std::string &msg, int last_errno);
SPDLOG_API void throw_spdlog_ex(std::string msg);
[[noreturn]] SPDLOG_API void throw_spdlog_ex(const std::string &msg, int last_errno);
[[noreturn]] SPDLOG_API void throw_spdlog_ex(std::string msg);
struct source_loc
{