From 388c71731745fa6c86b38f43f2d003dbf6f30263 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 4 Dec 2017 17:20:04 +0100 Subject: [PATCH] Work on LOD use case --- src/hdf5_usecases/lod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdf5_usecases/lod.cpp b/src/hdf5_usecases/lod.cpp index 2f767be2c0..f759e0e455 100644 --- a/src/hdf5_usecases/lod.cpp +++ b/src/hdf5_usecases/lod.cpp @@ -121,7 +121,7 @@ void find_geometric_types(IfcParse::IfcFile& f, const std::string& tfn) { std::for_each(connection_geom->begin(), connection_geom->end(), vist_geometric); std::function fn; - fn = [&f, &geometric_instances, &other_types, &fn, &to_watch](IfcUtil::IfcBaseClass* root, IfcUtil::IfcBaseClass* inst) { + fn = [&f, &geometric_instances, &other_types, &fn](IfcUtil::IfcBaseClass* root, IfcUtil::IfcBaseClass* inst) { if (geometric_instances.find(inst) == geometric_instances.end()) { auto ty = inst->declaration().type(); other_types.insert(ty);