summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWStatistics.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-02-09 19:54:33 -0500
committerLioncash <mathew1800@gmail.com>2014-02-09 19:55:44 -0500
commitfc30597f7a1f95ea3dd1c1e5cb3da5f5bc0597b5 (patch)
tree19e2ed43ee3a44d295c67c5085741234e6415178 /Source/Core/VideoBackends/Software/SWStatistics.cpp
parente59f770ccbf61f012d148a390e7f76775ab2a02e (diff)
Remove function Xchg from SWStatistics.cpp. Like the one previous, this can be replaced with std::swap
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWStatistics.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWStatistics.cpp8
1 files changed, 0 insertions, 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 <class T>
-void Xchg(T& a, T&b)
-{
- T c = a;
- a = b;
- b = c;
-}
-
SWStatistics::SWStatistics()
{
frameCount = 0;