Browse Source

Rename bx::swap to bx::xchg.

Branimir Karadžić 11 years ago
parent
commit
669094cf15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/bx/bx.h

+ 1 - 1
include/bx/bx.h

@@ -39,7 +39,7 @@ namespace bx
 #define BX_IGNORE_C4127(_x) bx::ignoreC4127(!!(_x) )
 
 	template<typename Ty>
-	inline void swap(Ty& _a, Ty& _b)
+	inline void xchg(Ty& _a, Ty& _b)
 	{
 		Ty tmp = _a; _a = _b; _b = tmp;
 	}