Skip to content

Commit

Permalink
fix travis
Browse files Browse the repository at this point in the history
  • 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.
1 change: 1 addition & 0 deletions src/core/qgsunittypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class CORE_EXPORT QgsUnitTypes
Q_GADGET

public:
//! Systems of unit measurement
enum SystemOfMeasurement
{
UnknownSystem = 0, //!< Unknown system of measurement
Expand Down
2 changes: 1 addition & 1 deletion src/quickgui/qgsquickcoordinatetransformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 00cd4b3

Please sign in to comment.