Skip to content

Commit 1821e24

Browse files
authored
Fix UB warning
1 parent 70f9165 commit 1821e24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Development/slog/all_in_one.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ namespace slog
11521152
using log_statement::pertinent;
11531153
using log_statement::log;
11541154

1155-
logw(log_gate& gate, severity level, const char* file, int line, const char* function, bool pert = true, const int& count = count_unused())
1155+
logw(log_gate& gate, severity level, const char* file, int line, const char* function, bool pert = true, const int& count = log_statement::count_unused())
11561156
: log_statement(level, file, line, function, pert && gate.pertinent(level), count)
11571157
, uncaught_exceptions_(pertinent() ? uncaught_exceptions() : -1)
11581158
, gate_(gate)

0 commit comments

Comments
 (0)