Merge pull request #490 from wilshipley/master

Added 'const' to () operator on CompareVector
pull/497/head
Alexander Gessler 2015-03-12 07:57:59 +01:00
commit e516a21bd9
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ IfcVector3 TempMesh::ComputeLastPolygonNormal(bool normalize) const
struct CompareVector struct CompareVector
{ {
bool operator () (const IfcVector3& a, const IfcVector3& b) bool operator () (const IfcVector3& a, const IfcVector3& b) const
{ {
IfcVector3 d = a - b; IfcVector3 d = a - b;
IfcFloat eps = 1e-6; IfcFloat eps = 1e-6;