Skip to content

Commit ee9b59a

Browse files
committedJan 14, 2017
Fix another missing const reported by clang & @sfan5
Signed-off-by: Loic Blot <loic.blot@unix-experience.fr>
1 parent ee6d8c1 commit ee9b59a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/content_cao.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ bool GenericCAO::getCollisionBox(aabb3f *toset) const
604604
return false;
605605
}
606606

607-
bool GenericCAO::collideWithObjects()
607+
bool GenericCAO::collideWithObjects() const
608608
{
609609
return m_prop.collideWithObjects;
610610
}

‎src/content_cao.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class GenericCAO : public ClientActiveObject
132132

133133
bool getCollisionBox(aabb3f *toset) const;
134134

135-
bool collideWithObjects();
135+
bool collideWithObjects() const;
136136

137137
aabb3f *getSelectionBox();
138138

0 commit comments

Comments
 (0)
Please sign in to comment.