Commit 28ebdad3 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update os.h

fixed issue #246
parent 1ac68e39
......@@ -256,7 +256,7 @@ inline std::string filename_to_str(const filename_t& filename)
inline std::string errno_str(int err_num)
{
char buf[256];
constexpr auto buf_size = sizeof(buf);
SPDLOG_CONSTEXPR auto buf_size = sizeof(buf);
#ifdef _WIN32
if(strerror_s(buf, buf_size, err_num) == 0)
......
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