Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
philip82148 committed Dec 4, 2023
1 parent d0ad449 commit 000df0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dump.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ void cpp_dump_macro(
log_label_func ? log_label_func(loc.file_name, loc.line, loc.function_name) : "";

std::string output = "";
if (!_detail::_dump(output, log_label, true, exprs, args...)) {
if (!_dump(output, log_label, true, exprs, args...)) {
output = "";
_detail::_dump(output, log_label, false, exprs, args...);
_dump(output, log_label, false, exprs, args...);
}

std::clog << output << std::endl;
Expand Down

0 comments on commit 000df0a

Please sign in to comment.