From f58539d6d8d8a0dd6165a25dd23aef5ca59df842 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 3 Jul 2017 20:39:40 +0200 Subject: [PATCH] Construct not only allocate token buffer --- src/ifcparse/IfcParse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index 4b4e432825..947c3d92d1 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -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_stream(3); + boost::circular_buffer token_stream(3, Token()); IfcEntityInstanceData* data; IfcUtil::IfcBaseClass* instance = 0;