.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;

View File

@ -189,7 +189,7 @@ struct Material {
, ior ( ai_real( 1.0 ) )
, transparent( ai_real( 1.0), ai_real (1.0), ai_real(1.0)) {
std::fill_n(clamp, TextureTypeCount,false);
std::fill_n(clamp, TextureTypeCount, false);
}
// Destructor