fixed the make_unique

pull/3014/head
iamAdrianIusca 2020-02-18 18:01:53 +02:00
parent 024b5e60bc
commit a65bac27e9
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ ObjFileParser::ObjFileParser( IOStreamBuffer<char> &streamBuffer, const std::str
std::fill_n(m_buffer, Buffersize,0);
// Create the model instance to store all the data
m_pModel = std::make_unique<ObjFile::Model>();
m_pModel.reset(new ObjFile::Model());
m_pModel->m_ModelName = modelName;
// create default material and store it