From 2e4d73defa8c84532f366288d24eac451ddea564 Mon Sep 17 00:00:00 2001 From: zilmar Date: Wed, 23 Dec 2015 13:29:01 +1100 Subject: [PATCH] [Project64] Disable copy constructor for CSystemTimer --- Source/Project64-core/N64System/Mips/SystemTiming.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Project64-core/N64System/Mips/SystemTiming.h b/Source/Project64-core/N64System/Mips/SystemTiming.h index 9a6e8affd..45381f9ba 100644 --- a/Source/Project64-core/N64System/Mips/SystemTiming.h +++ b/Source/Project64-core/N64System/Mips/SystemTiming.h @@ -60,6 +60,10 @@ public: bool operator != (const CSystemTimer& rSystemTimer) const; private: + CSystemTimer(void); // Disable default constructor + CSystemTimer(const CSystemTimer&); // Disable copy constructor + CSystemTimer& operator=(const CSystemTimer&); // Disable assignment + TIMER_DETAILS m_TimerDetatils[MaxTimer]; int m_LastUpdate; //Timer at last update int & m_NextTimer;