mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +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 + "'");
|
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;
|
IfcEntityInstanceData* data;
|
||||||
IfcUtil::IfcBaseClass* instance = 0;
|
IfcUtil::IfcBaseClass* instance = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user