This commit is contained in:
Gabi Melman 2024-04-26 00:04:00 +03:00 committed by GitHub
parent a0d2187d8f
commit b7e0e2c237
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -319,7 +319,7 @@ struct source_loc {
line{line_in}, line{line_in},
funcname{funcname_in} {} funcname{funcname_in} {}
SPDLOG_CONSTEXPR bool empty() const SPDLOG_NOEXCEPT { return line == 0; } SPDLOG_CONSTEXPR bool empty() const SPDLOG_NOEXCEPT { return line <= 0; }
const char *filename{nullptr}; const char *filename{nullptr};
int line{0}; int line{0};
const char *funcname{nullptr}; const char *funcname{nullptr};