Skip to content

Commit c19418c

Browse files
committedAug 24, 2017
Add more missing std:: prefixes
1 parent 891d612 commit c19418c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+141
-141
lines changed
 

‎src/analysis/network/qgsvectorlayerdirector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class QgsPointCompare
5050
double tx1 = std::ceil( p1.x() / mTolerance );
5151
double tx2 = std::ceil( p2.x() / mTolerance );
5252
if ( tx1 == tx2 )
53-
return ceil( p1.y() / mTolerance ) < std::ceil( p2.y() / mTolerance );
53+
return std::ceil( p1.y() / mTolerance ) < std::ceil( p2.y() / mTolerance );
5454
return tx1 < tx2;
5555
}
5656

‎src/analysis/raster/qgsalignraster.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static double floor_with_tolerance( double value )
4040
if ( std::fabs( value - std::round( value ) ) < 1e-6 )
4141
return std::round( value );
4242
else
43-
return floor( value );
43+
return std::floor( value );
4444
}
4545

4646
static double fmod_with_tolerance( double num, double denom )

0 commit comments

Comments
 (0)
Please sign in to comment.