mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Version of Clara with (std::max)
This commit is contained in:
parent
2eb93f47f7
commit
ba6845a865
2
include/external/clara.hpp
vendored
2
include/external/clara.hpp
vendored
@ -1103,7 +1103,7 @@ namespace detail {
|
||||
size_t consoleWidth = CATCH_CLARA_CONFIG_CONSOLE_WIDTH;
|
||||
size_t optWidth = 0;
|
||||
for( auto const &cols : rows )
|
||||
optWidth = std::max(optWidth, cols.left.size() + 2);
|
||||
optWidth = (std::max)(optWidth, cols.left.size() + 2);
|
||||
|
||||
for( auto const &cols : rows ) {
|
||||
auto row =
|
||||
|
2
third_party/clara.hpp
vendored
2
third_party/clara.hpp
vendored
@ -1103,7 +1103,7 @@ namespace detail {
|
||||
size_t consoleWidth = CLARA_CONFIG_CONSOLE_WIDTH;
|
||||
size_t optWidth = 0;
|
||||
for( auto const &cols : rows )
|
||||
optWidth = std::max(optWidth, cols.left.size() + 2);
|
||||
optWidth = (std::max)(optWidth, cols.left.size() + 2);
|
||||
|
||||
for( auto const &cols : rows ) {
|
||||
auto row =
|
||||
|
Loading…
Reference in New Issue
Block a user