Commit f0c962d2 authored by gabime's avatar gabime

source_loc ctor: brace init members

parent 486b6937
......@@ -192,8 +192,8 @@ struct source_loc
{
}
SPDLOG_CONSTEXPR source_loc(const char *filename, int line)
: filename(filename)
, line(static_cast<uint32_t>(line))
: filename{filename}
, line{static_cast<uint32_t>(line)}
{
}
......
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