removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class

This commit is contained in:
bunnei
2014-04-27 18:29:51 -04:00
parent 451a14f98c
commit a48c6b947d
8 changed files with 2 additions and 21 deletions

View File

@ -8,7 +8,7 @@
#include "common/common_types.h"
/// Generic ARM11 CPU interface
class ARM_Interface {
class ARM_Interface : NonCopyable {
public:
ARM_Interface() {
m_num_instructions = 0;
@ -75,5 +75,4 @@ private:
u64 m_num_instructions; ///< Number of instructions executed
DISALLOW_COPY_AND_ASSIGN(ARM_Interface);
};

View File

@ -63,5 +63,4 @@ private:
ARMul_State* m_state;
DISALLOW_COPY_AND_ASSIGN(ARM_Interpreter);
};

View File

@ -27,9 +27,6 @@ public:
return "gsp::Gpu";
}
private:
DISALLOW_COPY_AND_ASSIGN(Interface);
};
} // namespace

View File

@ -29,9 +29,6 @@ public:
return "hid:USER";
}
private:
DISALLOW_COPY_AND_ASSIGN(Interface);
};
} // namespace

View File

@ -32,9 +32,6 @@ public:
*/
Syscall::Result Sync();
private:
DISALLOW_COPY_AND_ASSIGN(Interface);
};
} // namespace