Skip to content

Commit

Permalink
Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Apr 25, 2024
2 parents 66ac83e + b7e0e2c commit fd61ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ void async_example()
---
#### Asynchronous logger with multi sinks
```c++
#include "spdlog/async.h"
#include "spdlog/sinks/stdout_color_sinks.h"
#include "spdlog/sinks/rotating_file_sink.h"

Expand Down
2 changes: 1 addition & 1 deletion include/spdlog/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ struct source_loc {
line{line_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};
int line{0};
const char *funcname{nullptr};
Expand Down

0 comments on commit fd61ea9

Please sign in to comment.