.clear in destructor is redundant
parent
bf85fc1386
commit
ad52c5c5f6
|
@ -343,8 +343,6 @@ namespace Assimp {
|
||||||
}
|
}
|
||||||
|
|
||||||
ZipArchiveIOSystem::Implement::~Implement() {
|
ZipArchiveIOSystem::Implement::~Implement() {
|
||||||
m_ArchiveMap.clear();
|
|
||||||
|
|
||||||
if (m_ZipFileHandle != nullptr) {
|
if (m_ZipFileHandle != nullptr) {
|
||||||
unzClose(m_ZipFileHandle);
|
unzClose(m_ZipFileHandle);
|
||||||
m_ZipFileHandle = nullptr;
|
m_ZipFileHandle = nullptr;
|
||||||
|
|
|
@ -189,7 +189,7 @@ struct Material {
|
||||||
, ior ( ai_real( 1.0 ) )
|
, ior ( ai_real( 1.0 ) )
|
||||||
, transparent( ai_real( 1.0), ai_real (1.0), 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
|
// Destructor
|
||||||
|
|
Loading…
Reference in New Issue