.clear in destructor is redundant

pull/3014/head
iamAdrianIusca 2020-02-18 18:56:09 +02:00
parent bf85fc1386
commit ad52c5c5f6
2 changed files with 1 additions and 3 deletions

View File

@ -343,8 +343,6 @@ namespace Assimp {
}
ZipArchiveIOSystem::Implement::~Implement() {
m_ArchiveMap.clear();
if (m_ZipFileHandle != nullptr) {
unzClose(m_ZipFileHandle);
m_ZipFileHandle = nullptr;