Skip to content
Permalink
Browse files
C++11 = good
  • Loading branch information
nyalldawson committed Apr 17, 2017
1 parent cdef076 commit 4925fab05c0ba0b6df1015005c0a09bf32338941
Showing with 1 addition and 2 deletions.
  1. +0 −1 src/core/qgsdistancearea.cpp
  2. +1 −1 src/core/qgsdistancearea.h
@@ -50,7 +50,6 @@
QgsDistanceArea::QgsDistanceArea()
{
// init with default settings
mEllipsoidalMode = false;
setSourceCrs( GEOCRS_ID ); // WGS 84
setEllipsoid( GEO_NONE );
}
@@ -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;

0 comments on commit 4925fab

Please sign in to comment.