Skip to content
Permalink
Browse files

QgsArchive: reinitialize mDir in copy constructor

  • Loading branch information
rouault committed Jun 1, 2020
1 parent 0f57abe commit 693baf037e38b7ff3c035539c38307b6d530718e
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsarchive.cpp
@@ -43,7 +43,10 @@ QgsArchive::QgsArchive( const QgsArchive &other )
QgsArchive &QgsArchive::operator=( const QgsArchive &other )
{
if ( this != &other )
{
mFiles = other.mFiles;
mDir.reset( new QTemporaryDir() );
}

return *this;
}

0 comments on commit 693baf0

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