mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-14 00:58:51 +02:00
Remove function Xchg from SWStatistics.cpp. Like the one previous, this can be replaced with std::swap
This commit is contained in:
@ -6,14 +6,6 @@
|
|||||||
|
|
||||||
SWStatistics swstats;
|
SWStatistics swstats;
|
||||||
|
|
||||||
template <class T>
|
|
||||||
void Xchg(T& a, T&b)
|
|
||||||
{
|
|
||||||
T c = a;
|
|
||||||
a = b;
|
|
||||||
b = c;
|
|
||||||
}
|
|
||||||
|
|
||||||
SWStatistics::SWStatistics()
|
SWStatistics::SWStatistics()
|
||||||
{
|
{
|
||||||
frameCount = 0;
|
frameCount = 0;
|
||||||
|
Reference in New Issue
Block a user