2
0
escherstair 6 жил өмнө
parent
commit
1abf6d50fe

+ 4 - 1
code/Obj/ObjFileImporter.cpp

@@ -79,7 +79,10 @@ using namespace std;
 ObjFileImporter::ObjFileImporter()
 : m_Buffer()
 , m_pRootObject( nullptr )
-, m_strAbsPath( DefaultIOSystem().getOsSeparator() ) {}
+, m_strAbsPath( "" ) {
+    DefaultIOSystem io;
+    m_strAbsPath = io.getOsSeparator();
+}
 
 // ------------------------------------------------------------------------------------------------
 //  Destructor.