Unverified Commit 486b6937 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #929 from dpacbach/warnings-fix

Fix some minor warnings found with a recent clang version
parents 3eba3224 a6152eba
......@@ -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};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment