Skip to content
Permalink
Browse files
Revert 8f04d22; set condition to ifndef QT_NO_DEBUG
[ci skip]
  • Loading branch information
dakcarto committed Oct 8, 2015
1 parent e703fc6 commit 307806ab65d8cf69c8d3c1e2c659c49de8d397fc
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/core/qgsvectorlayerundocommand.cpp
@@ -44,10 +44,9 @@ QgsVectorLayerUndoCommandAddFeature::QgsVectorLayerUndoCommandAddFeature( QgsVec

void QgsVectorLayerUndoCommandAddFeature::undo()
{
#ifdef QGISDEBUG
#ifndef QT_NO_DEBUG
QgsFeatureMap::const_iterator it = mBuffer->mAddedFeatures.find( mFeature.id() );
Q_ASSERT( it != mBuffer->mAddedFeatures.end() );
Q_UNUSED( it );
#endif
mBuffer->mAddedFeatures.remove( mFeature.id() );

0 comments on commit 307806a

Please sign in to comment.