Added 'const' to () operator on CompareVector

So it can build on clang.
pull/490/head
Wil Shipley 2015-03-11 16:55:21 -07:00
parent 163bbc25c7
commit 90a07713c0
1 changed files with 1 additions and 1 deletions

View File

@ -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;