diff --git a/Bullet/BroadphaseCollision/OverlappingPairCache.cpp b/Bullet/BroadphaseCollision/OverlappingPairCache.cpp index 37cb807dc..be80f86bf 100644 --- a/Bullet/BroadphaseCollision/OverlappingPairCache.cpp +++ b/Bullet/BroadphaseCollision/OverlappingPairCache.cpp @@ -177,7 +177,7 @@ void OverlappingPairCache::ProcessAllOverlappingPairs(OverlapCallback* callback) if (callback->ProcessOverlap(*pair)) { CleanOverlappingPair(*pair); -\ + std::set::iterator it2 = it; it++; //why does next line not compile under OS X??