mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
source_loc ctor: brace init members
This commit is contained in:
@@ -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)}
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user