Added nonreturn sepcifier to fix #1748

pull/1883/head
gabime 5 years ago
parent 37d76b961c
commit 44e1f9f682

@ -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
{

Loading…
Cancel
Save