Skip to content
Permalink
Browse files
Another test std::min fix
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 3946d71 commit 95df57aa0942fca97c0a9d93e139368aa07b660a
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/providers/testqgswcspublicservers.cpp
@@ -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 )

0 comments on commit 95df57a

Please sign in to comment.