mirror of
https://github.com/catchorg/Catch2.git
synced 2025-12-21 09:32:11 +01:00
Build 2
This commit is contained in:
@@ -400,7 +400,7 @@ namespace Clara {
|
||||
Catch::Text desc( it->description, Catch::TextAttributes()
|
||||
.setWidth( width - maxWidth -3 ) );
|
||||
|
||||
for( std::size_t i = 0; i < std::max( usage.size(), desc.size() ); ++i ) {
|
||||
for( std::size_t i = 0; i < (std::max)( usage.size(), desc.size() ); ++i ) {
|
||||
std::string usageCol = i < usage.size() ? usage[i] : "";
|
||||
os << usageCol;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user