Construct not only allocate token buffer

This commit is contained in:
Thomas Krijnen
2017-07-03 20:39:40 +02:00
parent 90bdf03f54
commit f58539d6d8
+1 -1
View File
@@ -1279,7 +1279,7 @@ bool IfcFile::Init(IfcParse::IfcSpfStream* s) {
Logger::Message(Logger::LOG_ERROR, std::string("File schema encountered different from expected '") + IfcSchema::Identifier + "'");
}
boost::circular_buffer<Token> token_stream(3);
boost::circular_buffer<Token> token_stream(3, Token());
IfcEntityInstanceData* data;
IfcUtil::IfcBaseClass* instance = 0;