From 783675f78c770940574d4836660ae98745a2a155 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 10 Jun 2024 21:41:52 +0200 Subject: [PATCH] Fix IfcGeomServer build after c01263d721b9053e93ce65a143b75b86b1b26df0 --- src/ifcgeomserver/IfcGeomServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeomserver/IfcGeomServer.cpp b/src/ifcgeomserver/IfcGeomServer.cpp index b51166bcbe..15cd7e546b 100644 --- a/src/ifcgeomserver/IfcGeomServer.cpp +++ b/src/ifcgeomserver/IfcGeomServer.cpp @@ -353,7 +353,7 @@ protected: // We remove the blanks here from the material array. I.e. materials without a diffuse color std::vector > > diffuse_color_array; for (auto it = geom->geometry().materials().begin(); it != geom->geometry().materials().end(); ++it) { - const auto& mat = *it; + const auto& mat = **it; if (mat.diffuse) { const auto& color = mat.diffuse.ccomponents(); diffuse_color_array.push_back(std::array{