source_loc ctor: brace init members

pull/936/head
gabime 7 years ago
parent 486b6937d3
commit f0c962d274

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

Loading…
Cancel
Save