source_loc ctor: brace init members

This commit is contained in:
gabime 2018-11-29 12:55:14 +02:00
parent 486b6937d3
commit f0c962d274

View File

@ -192,8 +192,8 @@ struct source_loc
{ {
} }
SPDLOG_CONSTEXPR source_loc(const char *filename, int line) SPDLOG_CONSTEXPR source_loc(const char *filename, int line)
: filename(filename) : filename{filename}
, line(static_cast<uint32_t>(line)) , line{static_cast<uint32_t>(line)}
{ {
} }