init variable in initializer list
parent
6d4854f12c
commit
c0ec5140ee
|
@ -79,10 +79,7 @@ using namespace std;
|
||||||
ObjFileImporter::ObjFileImporter()
|
ObjFileImporter::ObjFileImporter()
|
||||||
: m_Buffer()
|
: m_Buffer()
|
||||||
, m_pRootObject( nullptr )
|
, m_pRootObject( nullptr )
|
||||||
, m_strAbsPath( "" ) {
|
, m_strAbsPath( DefaultIOSystem::getOsSeparator() ) {}
|
||||||
DefaultIOSystem io;
|
|
||||||
m_strAbsPath = io.getOsSeparator();
|
|
||||||
}
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
// Destructor.
|
// Destructor.
|
||||||
|
|
Loading…
Reference in New Issue