Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x
This commit is contained in:
commit
34c60e5486
@ -1115,7 +1115,7 @@ private:
|
|||||||
auto digit = static_cast<size_t>(*it - '0');
|
auto digit = static_cast<size_t>(*it - '0');
|
||||||
width = width * 10 + digit;
|
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)
|
void compile_pattern_(const std::string &pattern)
|
||||||
|
Loading…
Reference in New Issue
Block a user