Skip to content

Commit

Permalink
Give a default value to mValid for all constructors
Browse files Browse the repository at this point in the history
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 269d4ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsfeature.cpp
Expand Up @@ -32,6 +32,7 @@ QgsFeature::QgsFeature()
: mFid(0),
mGeometry(0),
mOwnsGeometry(0),
mValid(false),
mDirty(0)
{
// NOOP
Expand All @@ -42,6 +43,7 @@ QgsFeature::QgsFeature(int id, QString const & typeName )
: mFid(id),
mGeometry(0),
mOwnsGeometry(0),
mValid(false),
mDirty(0),
mTypeName(typeName)
{
Expand Down

0 comments on commit 269d4ef

Please sign in to comment.