fix assignment and copy operators

This commit is contained in:
Aaron Seigo 2011-07-21 14:57:43 +02:00
parent 9701a7a2ad
commit 678d5d81ef

View File

@ -913,6 +913,7 @@ PackagePrivate::PackagePrivate()
PackagePrivate::PackagePrivate(const PackagePrivate &other)
{
*this = other;
metadata = 0;
}
PackagePrivate::~PackagePrivate()
@ -922,6 +923,7 @@ PackagePrivate::~PackagePrivate()
PackagePrivate &PackagePrivate::operator=(const PackagePrivate &rhs)
{
structure = rhs.structure;
path = rhs.path;
contentsPrefixPaths = rhs.contentsPrefixPaths;
servicePrefix = rhs.servicePrefix;