From 90963f4c0a38c705fe85101f2be5fdd09911b10f Mon Sep 17 00:00:00 2001 From: Marijn Tamis Date: Mon, 29 Apr 2019 16:21:42 +0200 Subject: Fix potential namespace issues when using NvCloth together with PhysX. --- NvCloth/src/SwCollision.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NvCloth/src/SwCollision.cpp') diff --git a/NvCloth/src/SwCollision.cpp b/NvCloth/src/SwCollision.cpp index 5c1466c..9dca42c 100644 --- a/NvCloth/src/SwCollision.cpp +++ b/NvCloth/src/SwCollision.cpp @@ -331,7 +331,7 @@ void cloth::SwCollision::operator()(const IterationState& state) } if (mPrevData.mSpheres) - shdfnd::swap(mCurData, mPrevData); + ps::swap(mCurData, mPrevData); } template -- cgit v1.2.3