mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 22:49:05 +08:00
Merge pull request #984 from ZGCDDoo/shadowed_parameter
Shadowed parameter
This commit is contained in:
commit
2d96896fae
@ -210,10 +210,10 @@ struct source_loc
|
|||||||
, funcname{""}
|
, funcname{""}
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
SPDLOG_CONSTEXPR source_loc(const char *filename, int line, const char *funcname)
|
SPDLOG_CONSTEXPR source_loc(const char *filename_in, int line_in, const char *funcname_in)
|
||||||
: filename{filename}
|
: filename{filename_in}
|
||||||
, line{static_cast<uint32_t>(line)}
|
, line{static_cast<uint32_t>(line_in)}
|
||||||
, funcname{funcname}
|
, funcname{funcname_in}
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user