From ade44ac2ea66777e412644a273a43cbada55e6d6 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 2 Feb 2022 13:18:58 -0500 Subject: common_types: Remove NonCopyable struct Now that we're moved over to the YUZU_ defines, we can get rid of this struct. --- src/common/common_types.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/common/common_types.h b/src/common/common_types.h index 4cec89fbd..99bffc460 100644 --- a/src/common/common_types.h +++ b/src/common/common_types.h @@ -46,13 +46,3 @@ using GPUVAddr = u64; ///< Represents a pointer in the GPU virtual address space using u128 = std::array; static_assert(sizeof(u128) == 16, "u128 must be 128 bits wide"); - -// An inheritable class to disallow the copy constructor and operator= functions -class NonCopyable { -protected: - constexpr NonCopyable() = default; - ~NonCopyable() = default; - - NonCopyable(const NonCopyable&) = delete; - NonCopyable& operator=(const NonCopyable&) = delete; -}; -- cgit v1.2.3