Skip to content
Permalink
Browse files
Give a default value to mValid for all constructors
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5610 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jul 18, 2006
1 parent d5da784 commit 8fd8143
Showing 1 changed file with 2 additions and 0 deletions.
@@ -32,6 +32,7 @@ QgsFeature::QgsFeature()
: mFid(0),
mGeometry(0),
mOwnsGeometry(0),
mValid(false),
mDirty(0)
{
// NOOP
@@ -42,6 +43,7 @@ QgsFeature::QgsFeature(int id, QString const & typeName )
: mFid(id),
mGeometry(0),
mOwnsGeometry(0),
mValid(false),
mDirty(0),
mTypeName(typeName)
{

0 comments on commit 8fd8143

Please sign in to comment.