mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fixed #902
This commit is contained in:
@@ -1114,7 +1114,7 @@ private:
|
||||
auto digit = static_cast<size_t>(*it - '0');
|
||||
width = width * 10 + digit;
|
||||
}
|
||||
return details::padding_info{std::min(width, max_width), side};
|
||||
return details::padding_info{std::min<size_t>(width, max_width), side};
|
||||
}
|
||||
|
||||
void compile_pattern_(const std::string &pattern)
|
||||
|
Reference in New Issue
Block a user