Pass in a const reference to a CompareFunc for quickSort, to make Visual Studio 2011 happy.

Thanks to Cameron Hart
Fixes Issue 588
This commit is contained in:
erwin.coumans
2012-01-23 21:39:44 +00:00
parent ce50f11fea
commit f754952232
11 changed files with 14 additions and 13 deletions

View File

@@ -1245,7 +1245,7 @@ void btDX11SoftBodySolver::prepareCollisionConstraints()
{
public:
bool operator() ( const CollisionShapeDescription& a, const CollisionShapeDescription& b )
bool operator() ( const CollisionShapeDescription& a, const CollisionShapeDescription& b ) const
{
return ( a.softBodyIdentifier < b.softBodyIdentifier );
}