ObjImporter: fix the build.
authorKim Kulling <kim.kulling@goolemail.com>
Sun, 28 May 2017 12:14:22 +0000 (14:14 +0200)
committerKim Kulling <kim.kulling@goolemail.com>
Sun, 28 May 2017 12:14:22 +0000 (14:14 +0200)
code/ObjFileParser.h

index ed8e7a0..64dc18c 100644 (file)
@@ -154,9 +154,8 @@ private:
     IOSystem *m_pIO;
     //! Pointer to progress handler
     ProgressHandler* m_progress;
-    /// Path to the current model
-    // name of the obj file where the buffer comes from
-    const std::string& m_originalObjFileName;
+    /// Path to the current model, name of the obj file where the buffer comes from
+    const std::string m_originalObjFileName;
 };
 
 }   // Namespace Assimp