[Project64] Fix some usage of friend

This commit is contained in:
zilmar 2016-11-28 07:28:13 +11:00
parent 3eb589df12
commit 66b22ecab1
3 changed files with 5 additions and 5 deletions

View File

@ -117,10 +117,10 @@ private:
CMipsMemoryVM& operator=(const CMipsMemoryVM&); // Disable assignment
#if defined(__i386__) || defined(_M_IX86)
friend CX86RecompilerOps;
friend class CX86RecompilerOps;
#elif defined(__arm__) || defined(_M_ARM)
friend CArmRegInfo;
friend CArmRecompilerOps;
friend class CArmRegInfo;
friend class CArmRecompilerOps;
#endif
static void RdramChanged(CMipsMemoryVM * _this);

View File

@ -134,7 +134,7 @@ private:
bool Probed;
};
friend CDebugTlb; // enable debug window to read class
friend class CDebugTlb; // enable debug window to read class
CTLB_CB * const m_CB;

View File

@ -219,7 +219,7 @@ protected:
static const char * ArmRegName(ArmReg Reg);
private:
friend CArmRegInfo;
friend class CArmRegInfo;
static void PreOpCheck(bool AllowedInItBlock, const char * FileName, uint32_t LineNumber);
static void BreakPointNotification(const char * FileName, uint32_t LineNumber);