Преглед на файлове

Added 'const' to () operator on CompareVector

So it can build on clang.
Wil Shipley преди 10 години
родител
ревизия
90a07713c0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      code/IFCUtil.cpp

+ 1 - 1
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;