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

@ -6,7 +6,7 @@
#include "common/common.h"
class RendererBase {
class RendererBase : NonCopyable {
public:
/// Used to reference a framebuffer
@ -52,6 +52,4 @@ protected:
f32 m_current_fps; ///< Current framerate, should be set by the renderer
int m_current_frame; ///< Current frame, should be set by the renderer
private:
DISALLOW_COPY_AND_ASSIGN(RendererBase);
};

View file

@ -87,5 +87,4 @@ private:
u8 m_xfb_top_flipped[VideoCore::kScreenTopWidth * VideoCore::kScreenTopWidth * 4];
u8 m_xfb_bottom_flipped[VideoCore::kScreenTopWidth * VideoCore::kScreenTopWidth * 4];
DISALLOW_COPY_AND_ASSIGN(RendererOpenGL);
};