mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Merge pull request #929 from dpacbach/warnings-fix
Fix some minor warnings found with a recent clang version
This commit is contained in:
commit
486b6937d3
@ -193,7 +193,7 @@ struct source_loc
|
||||
}
|
||||
SPDLOG_CONSTEXPR source_loc(const char *filename, int line)
|
||||
: filename(filename)
|
||||
, line(line)
|
||||
, line(static_cast<uint32_t>(line))
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,6 @@ struct log_msg
|
||||
}
|
||||
|
||||
log_msg(const log_msg &other) = default;
|
||||
log_msg &operator=(const log_msg &other) = default;
|
||||
|
||||
const std::string *logger_name{nullptr};
|
||||
level::level_enum level{level::off};
|
||||
|
Loading…
Reference in New Issue
Block a user