Skip to content

Commit

Permalink
Fix use of deleted function for QgsReadWriteLocker
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere authored and nyalldawson committed Jun 16, 2020
1 parent dd6ad4b commit 2f1d72a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/core/auto_generated/qgsreadwritelocker.sip.in
Expand Up @@ -58,6 +58,8 @@ Equivalent to doing ``changeMode( QgsReadWriteLocker.Unlock );``

~QgsReadWriteLocker();

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

/************************************************************************
Expand Down
4 changes: 4 additions & 0 deletions src/core/qgsreadwritelocker.h
Expand Up @@ -71,6 +71,10 @@ class CORE_EXPORT QgsReadWriteLocker
~QgsReadWriteLocker();

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

QReadWriteLock &mLock;
Mode mMode = Unlocked;
};
Expand Down

0 comments on commit 2f1d72a

Please sign in to comment.