Use already existing function to copy data

This commit is contained in:
TheAssassin
2018-11-08 22:45:50 +01:00
parent 8a79cfbe1d
commit e584088656

View File

@@ -35,7 +35,7 @@ DesktopFileReader::DesktopFileReader(boost::filesystem::path path) : DesktopFile
}
DesktopFileReader::DesktopFileReader(const DesktopFileReader& other) : DesktopFileReader() {
d->path = other.d->path;
d->copyData(other.d);
}
DesktopFileReader& DesktopFileReader::operator=(const DesktopFileReader& other) {