Skip to content

Commit f58539d

Browse files
committed
Construct not only allocate token buffer
1 parent 90bdf03 commit f58539d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ifcparse/IfcParse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ bool IfcFile::Init(IfcParse::IfcSpfStream* s) {
12791279
Logger::Message(Logger::LOG_ERROR, std::string("File schema encountered different from expected '") + IfcSchema::Identifier + "'");
12801280
}
12811281

1282-
boost::circular_buffer<Token> token_stream(3);
1282+
boost::circular_buffer<Token> token_stream(3, Token());
12831283

12841284
IfcEntityInstanceData* data;
12851285
IfcUtil::IfcBaseClass* instance = 0;

0 commit comments

Comments
 (0)