diff --git a/include/spdlog/details/pattern_formatter.h b/include/spdlog/details/pattern_formatter.h index 5e907e92..a0dcfea4 100644 --- a/include/spdlog/details/pattern_formatter.h +++ b/include/spdlog/details/pattern_formatter.h @@ -1115,7 +1115,7 @@ private: auto digit = static_cast(*it - '0'); width = width * 10 + digit; } - return details::padding_info{std::min(width, max_width), side}; + return details::padding_info{std::min(width, max_width), side}; } void compile_pattern_(const std::string &pattern)