Skip to content
Permalink
Browse files

fix travis

  • Loading branch information
PeterPetrik committed Jun 25, 2018
1 parent caed3a9 commit 00cd4b30608e5d39abf4386ac3f19bab2406924c
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/core/qgsunittypes.h
  2. +1 −1 src/quickgui/qgsquickcoordinatetransformer.cpp
@@ -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.
You can’t perform that action at this time.