mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-12-08 21:17:44 +00:00
MSVC noexcept fix
This commit is contained in:
@@ -36,7 +36,11 @@ public:
|
||||
std::wstring_convert<std::codecvt_utf8<wchar_t>> conv;
|
||||
m_what.assign(conv.to_bytes(buf));
|
||||
}
|
||||
#if _MSC_VER
|
||||
inline const char* what() const {return m_what.c_str();}
|
||||
#else
|
||||
inline const char* what() const noexcept {return m_what.c_str();}
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user