mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
source_loc ctor: brace init members
This commit is contained in:
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…
Reference in New Issue
Block a user