Skip to content
Permalink
Browse files

Silence warning

  • Loading branch information
m-kuhn committed Oct 29, 2018
1 parent 02ec785 commit 46563556d69cedaad7517a81d940a0741a68c235
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/core/qgsthreadingutils.h
  2. +2 −0 src/core/qgsvectorlayerutils.cpp
@@ -118,6 +118,7 @@ class CORE_EXPORT QgsThreadingUtils
return true;
}
#else
Q_UNUSED( feedback )
func();
return true;
#endif
@@ -518,6 +518,8 @@ std::unique_ptr<QgsVectorLayerFeatureSource> QgsVectorLayerUtils::getFeatureSour
{
#if QT_VERSION >= QT_VERSION_CHECK( 5, 10, 0 )
Q_ASSERT( QThread::currentThread() == qApp->thread() || feedback );
#else
Q_UNUSED( feedback )
#endif
QgsVectorLayer *lyr = layer.data();

0 comments on commit 4656355

Please sign in to comment.
You can’t perform that action at this time.