Skip to content

Commit

Permalink
C++11 = good
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 17, 2017
1 parent cdef076 commit 4925fab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/core/qgsdistancearea.cpp
Expand Up @@ -50,7 +50,6 @@
QgsDistanceArea::QgsDistanceArea()
{
// init with default settings
mEllipsoidalMode = false;
setSourceCrs( GEOCRS_ID ); // WGS 84
setEllipsoid( GEO_NONE );
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsdistancearea.h
Expand Up @@ -338,7 +338,7 @@ class CORE_EXPORT QgsDistanceArea
QgsCoordinateTransform mCoordTransform;

//! indicates whether we will transform coordinates
bool mEllipsoidalMode;
bool mEllipsoidalMode = false;

//! ellipsoid acronym (from table tbl_ellipsoids)
QString mEllipsoid;
Expand Down

0 comments on commit 4925fab

Please sign in to comment.