Skip to content
Permalink
Browse files
fix travis
  • Loading branch information
PeterPetrik committed Jun 25, 2018
1 parent caed3a9 commit 00cd4b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
@@ -39,6 +39,7 @@ class CORE_EXPORT QgsUnitTypes
Q_GADGET

public:
//! Systems of unit measurement
enum SystemOfMeasurement
{
UnknownSystem = 0, //!< Unknown system of measurement
@@ -88,7 +88,7 @@ void QgsQuickCoordinateTransformer::updatePosition()
// If Z is NaN, coordinate transformation (proj4) will
// also set X and Y to NaN. But we also want to get projected
// coords if we do not have any Z coordinate.
if ( qIsNaN( z ) )
if ( std::isnan( z ) )
{
z = 0;
}

0 comments on commit 00cd4b3

Please sign in to comment.