소스 검색

fixed the = default on the destructor

iamAdrianIusca 5 년 전
부모
커밋
d0922230a9
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      code/Obj/ObjFileParser.cpp
  2. 1 1
      code/Obj/ObjFileParser.h

+ 4 - 0
code/Obj/ObjFileParser.cpp

@@ -98,6 +98,10 @@ 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, 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.