Skip to content

Commit

Permalink
Another test std::min fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 3946d71 commit 95df57a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/providers/testqgswcspublicservers.cpp
Expand Up @@ -341,7 +341,7 @@ void TestQgsWcsPublicServers::test()
myVersionLog << QStringLiteral( "totalCoverages:%1" ).arg( myCoverages.size() );

int myCoverageCount = 0;
int myStep = myCoverages.size() / std::min( mMaxCoverages, myCoverages.size() );
int myStep = myCoverages.size() / std::min< int >( mMaxCoverages, myCoverages.size() );
int myStepCount = -1;
bool myCoverageFound = false;
for ( QgsWcsCoverageSummary myCoverage : myCoverages )
Expand Down

0 comments on commit 95df57a

Please sign in to comment.