Show source location if present in default formatter

This commit is contained in:
gabime
2018-11-24 18:00:56 +02:00
parent 3218caf34a
commit a16ff07a06
2 changed files with 28 additions and 18 deletions

View File

@@ -198,7 +198,7 @@ struct source_loc
{
}
SPDLOG_CONSTEXPR bool empty() const
SPDLOG_CONSTEXPR bool empty() const SPDLOG_NOEXCEPT
{
return line == 0;
}