Fix comments on PR

1) Use default instead of empty destructor
2) Remove debug code
pull/4632/head
Engin Manap 2022-07-09 17:23:40 +02:00
parent 3e424f8119
commit 684909a691
2 changed files with 2 additions and 8 deletions

View File

@ -1622,11 +1622,7 @@ void ColladaParser::ReadIndexData(XmlNode &node, Mesh &pMesh) {
throw DeadlyImportError("Expected more values while reading <vcount> contents.");
}
// read a number
size_t valueRead = (size_t)strtoul10(content, &content);
if(valueRead == 0) {
printf("wohoo");
}
vcount.push_back(valueRead);
vcount.push_back((size_t)strtoul10(content, &content));
// skip whitespace after it
SkipSpacesAndLineEnd(&content);
}

View File

@ -358,9 +358,7 @@ namespace pmx
public:
void virtual Read(std::istream *stream, PmxSetting *setting) = 0;
virtual ~PmxMorphOffset() {
}
virtual ~PmxMorphOffset() = default;
};
class PmxMorphVertexOffset : public PmxMorphOffset