Skip to content

Commit

Permalink
Update mdc
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Mar 29, 2024
1 parent 4517ce8 commit cba6602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/pattern_formatter-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ class mdc_formatter : public flag_formatter {
: flag_formatter(padinfo) {}

void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
auto mdc_map = mdc::get_context();
auto &mdc_map = mdc::get_context();
if (mdc_map.empty()) {
ScopedPadder p(0, padinfo_, dest);
return;
Expand Down

0 comments on commit cba6602

Please sign in to comment.