Browse Source

more minor changes

iamAdrianIusca 5 years ago
parent
commit
25feb77982
2 changed files with 4 additions and 1 deletions
  1. 3 0
      code/Obj/ObjFileParser.cpp
  2. 1 1
      code/Obj/ObjFileParser.h

+ 3 - 0
code/Obj/ObjFileParser.cpp

@@ -96,6 +96,9 @@ ObjFileParser::ObjFileParser( IOStreamBuffer<char> &streamBuffer, const std::str
     parseFile( streamBuffer );
 }
 
+ObjFileParser::~ObjFileParser() {
+}
+
 void ObjFileParser::setBuffer( std::vector<char> &buffer ) {
     m_DataIt = buffer.begin();
     m_DataItEnd = buffer.end();

+ 1 - 1
code/Obj/ObjFileParser.h

@@ -80,7 +80,7 @@ public:
     /// @brief  Constructor with data array.
     ObjFileParser( IOStreamBuffer<char> &streamBuffer, const std::string &modelName, IOSystem* io, ProgressHandler* progress, const std::string &originalObjFileName);
     /// @brief  Destructor
-    ~ObjFileParser() = default;
+    ~ObjFileParser();
     /// @brief  If you want to load in-core data.
     void setBuffer( std::vector<char> &buffer );
     /// @brief  Model getter.