From fc30597f7a1f95ea3dd1c1e5cb3da5f5bc0597b5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 9 Feb 2014 19:54:33 -0500 Subject: [PATCH] Remove function Xchg from SWStatistics.cpp. Like the one previous, this can be replaced with std::swap --- Source/Core/VideoBackends/Software/SWStatistics.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Source/Core/VideoBackends/Software/SWStatistics.cpp b/Source/Core/VideoBackends/Software/SWStatistics.cpp index 99b51b77a1..c033e2f684 100644 --- a/Source/Core/VideoBackends/Software/SWStatistics.cpp +++ b/Source/Core/VideoBackends/Software/SWStatistics.cpp @@ -6,14 +6,6 @@ SWStatistics swstats; -template -void Xchg(T& a, T&b) -{ - T c = a; - a = b; - b = c; -} - SWStatistics::SWStatistics() { frameCount = 0;