Skip to content
Permalink
Browse files

Fix use of deleted function for QgsReadWriteContextCategoryPopper

  • Loading branch information
pblottiere authored and nyalldawson committed Jun 10, 2020
1 parent 5d2b7d2 commit 71cf5af2105ce868c549c74fde69f5526d5524df
Showing with 6 additions and 0 deletions.
  1. +2 −0 python/core/auto_generated/qgsreadwritecontext.sip.in
  2. +4 −0 src/core/qgsreadwritecontext.h
@@ -153,6 +153,8 @@ This would happen when it gets out of scope.
Creates a popper
%End
~QgsReadWriteContextCategoryPopper();
private:
QgsReadWriteContextCategoryPopper &operator=( const QgsReadWriteContextCategoryPopper & );
};

/************************************************************************
@@ -162,6 +162,10 @@ class CORE_EXPORT QgsReadWriteContextCategoryPopper
QgsReadWriteContextCategoryPopper( QgsReadWriteContext &context ) : mContext( context ) {}
~QgsReadWriteContextCategoryPopper() {mContext.leaveCategory();}
private:
#ifdef SIP_RUN
QgsReadWriteContextCategoryPopper &operator=( const QgsReadWriteContextCategoryPopper & );
#endif

QgsReadWriteContext &mContext;
};

0 comments on commit 71cf5af

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