This commit is contained in:
Phil Nash 2013-06-29 12:11:32 +01:00
parent eb81850381
commit cd688300b0
6 changed files with 18 additions and 13 deletions

View file

@ -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;