1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 20:46:03 +08:00

Fix conflicts with std::swap.

This commit is contained in:
David Anderson
2020-05-18 17:44:36 -07:00
parent c15467c9c3
commit 968ec84e34
26 changed files with 57 additions and 57 deletions

View File

@ -365,7 +365,7 @@ STRIPLIST::iterator FindBestCachedStrip(STRIPLIST *pstriplist,
// make sure we keep the list in order and always pull off
// the first dude.
if(istriplistbest != pstriplist->begin())
swap(*istriplistbest, *pstriplist->begin());
V_swap(*istriplistbest, *pstriplist->begin());
return pstriplist->begin();
}