mutable wasn't needed for this anonymous union (btBroadphasePair)

This commit is contained in:
erwin.coumans
2008-11-16 08:06:07 +00:00
parent a006cea5ab
commit 0deffb7495
2 changed files with 2 additions and 2 deletions

View File

@@ -207,7 +207,7 @@ BT_DECLARE_ALIGNED_ALLOCATOR();
btBroadphaseProxy* m_pProxy1;
mutable btCollisionAlgorithm* m_algorithm;
mutable union { void* m_internalInfo1; int m_internalTmpValue;};//don't use this data, it will be removed in future version.
union { void* m_internalInfo1; int m_internalTmpValue;};//don't use this data, it will be removed in future version.
};

View File

@@ -70,7 +70,7 @@ public:
btPersistentManifold();
btPersistentManifold(void* body0,void* body1,int bla, btScalar contactBreakingThreshold)
btPersistentManifold(void* body0,void* body1,int , btScalar contactBreakingThreshold)
: m_body0(body0),m_body1(body1),m_cachedPoints(0),
m_contactBreakingThreshold(contactBreakingThreshold)
{