mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-04 10:58:06 +00:00
Build 2
This commit is contained in:
parent
eb81850381
commit
cd688300b0
6 changed files with 18 additions and 13 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue