mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class
This commit is contained in:
		
							parent
							
								
									451a14f98c
								
							
						
					
					
						commit
						a48c6b947d
					
				
					 8 changed files with 2 additions and 21 deletions
				
			
		|  | @ -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); | ||||
| }; | ||||
|  |  | |||
|  | @ -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); | ||||
| }; | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue