Skip to content

Commit 8fd8143

Browse files
author
g_j_m
committedJul 18, 2006
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
1 parent d5da784 commit 8fd8143

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/qgsfeature.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ QgsFeature::QgsFeature()
3232
: mFid(0),
3333
mGeometry(0),
3434
mOwnsGeometry(0),
35+
mValid(false),
3536
mDirty(0)
3637
{
3738
// NOOP
@@ -42,6 +43,7 @@ QgsFeature::QgsFeature(int id, QString const & typeName )
4243
: mFid(id),
4344
mGeometry(0),
4445
mOwnsGeometry(0),
46+
mValid(false),
4547
mDirty(0),
4648
mTypeName(typeName)
4749
{

0 commit comments

Comments
 (0)