mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Construct not only allocate token buffer
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user