Skip to content
Permalink
Browse files

Fix use of deleted function for QgsReadWriteLocker

  • Loading branch information
pblottiere authored and nyalldawson committed Jun 10, 2020
1 parent fe2621d commit 5d2b7d200d58edbb2710d3d99a465e923fe217fc
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 5d2b7d2

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