Commit 44e1f9f6 authored by gabime's avatar gabime

Added nonreturn sepcifier to fix #1748

parent 37d76b96
...@@ -206,8 +206,8 @@ private: ...@@ -206,8 +206,8 @@ private:
std::string msg_; std::string msg_;
}; };
SPDLOG_API void throw_spdlog_ex(const std::string &msg, int last_errno); [[noreturn]] 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(std::string msg);
struct source_loc struct source_loc
{ {
......
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