From 90a07713c01840cdbd28d3a9770866fe2ce23136 Mon Sep 17 00:00:00 2001 From: Wil Shipley Date: Wed, 11 Mar 2015 16:55:21 -0700 Subject: [PATCH] Added 'const' to () operator on CompareVector So it can build on clang. --- code/IFCUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/IFCUtil.cpp b/code/IFCUtil.cpp index 6fcda33c7..800ffd3ed 100644 --- a/code/IFCUtil.cpp +++ b/code/IFCUtil.cpp @@ -236,7 +236,7 @@ IfcVector3 TempMesh::ComputeLastPolygonNormal(bool normalize) const struct CompareVector { - bool operator () (const IfcVector3& a, const IfcVector3& b) + bool operator () (const IfcVector3& a, const IfcVector3& b) const { IfcVector3 d = a - b; IfcFloat eps = 1e-6;