diff --git a/src/broadphase/broadphase_SaP.cpp b/src/broadphase/broadphase_SaP.cpp index 22bdab6f8..e95601239 100644 --- a/src/broadphase/broadphase_SaP.cpp +++ b/src/broadphase/broadphase_SaP.cpp @@ -767,7 +767,7 @@ void SaPCollisionManager::distance(BroadPhaseCollisionManager* other_manager_, } //============================================================================== -bool SaPCollisionManager::empty() const { return AABB_arr.size(); } +bool SaPCollisionManager::empty() const { return AABB_arr.empty(); } //============================================================================== size_t SaPCollisionManager::size() const { return AABB_arr.size(); }