From d5e393485f4eacbdde4e5cef0ee36bbeb2a7bb9c Mon Sep 17 00:00:00 2001 From: goeiecool9999 <> Date: Sat, 10 Sep 2022 03:53:36 +0200 Subject: [PATCH] Get rid of this stupid stuff --- src/Cafe/HW/Latte/Core/LatteOverlay.cpp | 27 ++++++++++++------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/Cafe/HW/Latte/Core/LatteOverlay.cpp b/src/Cafe/HW/Latte/Core/LatteOverlay.cpp index 69301df3..4f922393 100644 --- a/src/Cafe/HW/Latte/Core/LatteOverlay.cpp +++ b/src/Cafe/HW/Latte/Core/LatteOverlay.cpp @@ -64,22 +64,21 @@ struct ProcessorTime }; #endif -template > -std::basic_istream& operator>>(std::basic_istream& istream, ProcessorTime & times) +std::istream& operator>>(std::istream& input, ProcessorTime & times) { std::string discard; - istream >> discard; - istream >> times.user; - istream >> times.nice; - istream >> times.system; - istream >> times.idle; - istream >> times.iowait; - istream >> times.irq; - istream >> times.softirq; - istream >> times.steal; - istream >> times.guest; - istream >> times.guest_nice; - return istream; + input >> discard; + input >> times.user; + input >> times.nice; + input >> times.system; + input >> times.idle; + input >> times.iowait; + input >> times.irq; + input >> times.softirq; + input >> times.steal; + input >> times.guest; + input >> times.guest_nice; + return input; } struct OverlayStats