Skip to content
Permalink
Browse files
Give a default value to mValid for all constructors
git-svn-id: http://svn.osgeo.org/qgis/trunk@5610 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jul 18, 2006
1 parent d454fdb commit 269d4ef55952486b3d850cbee31d89f9ac436a73
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsfeature.cpp
@@ -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 269d4ef

Please sign in to comment.