mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #1509 from lioncash/noncopy
common: Minor changes to NonCopyable
This commit is contained in:
		
						commit
						a2024d7497
					
				@ -53,9 +53,9 @@ typedef u32 PAddr; ///< Represents a pointer in the ARM11 physical address space
 | 
				
			|||||||
// An inheritable class to disallow the copy constructor and operator= functions
 | 
					// An inheritable class to disallow the copy constructor and operator= functions
 | 
				
			||||||
class NonCopyable {
 | 
					class NonCopyable {
 | 
				
			||||||
protected:
 | 
					protected:
 | 
				
			||||||
    NonCopyable() = default;
 | 
					    constexpr NonCopyable() = default;
 | 
				
			||||||
    ~NonCopyable() = default;
 | 
					    ~NonCopyable() = default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    NonCopyable(NonCopyable&) = delete;
 | 
					    NonCopyable(const NonCopyable&) = delete;
 | 
				
			||||||
    NonCopyable& operator=(NonCopyable&) = delete;
 | 
					    NonCopyable& operator=(const NonCopyable&) = delete;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user