Skip to content
Permalink
Browse files

Fix use of deleted function for QgsReadWriteLocker

  • Loading branch information
pblottiere authored and nyalldawson committed Jun 16, 2020
1 parent dd6ad4b commit 2f1d72acfbb1f438cb3cc08a3b948e6cc7b73641
Showing with 6 additions and 0 deletions.
  1. +2 −0 python/core/auto_generated/qgsreadwritelocker.sip.in
  2. +4 −0 src/core/qgsreadwritelocker.h
@@ -58,6 +58,8 @@ Equivalent to doing ``changeMode( QgsReadWriteLocker.Unlock );``

~QgsReadWriteLocker();

private:
QgsReadWriteLocker &operator=( const QgsReadWriteLocker & );
};

/************************************************************************
@@ -71,6 +71,10 @@ class CORE_EXPORT QgsReadWriteLocker
~QgsReadWriteLocker();

private:
#ifdef SIP_RUN
QgsReadWriteLocker &operator=( const QgsReadWriteLocker & );
#endif

QReadWriteLock &mLock;
Mode mMode = Unlocked;
};

0 comments on commit 2f1d72a

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