mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
common_types: Remove NonCopyable struct
Now that we're moved over to the YUZU_ defines, we can get rid of this struct.
This commit is contained in:
parent
f785f73e92
commit
ade44ac2ea
1 changed files with 0 additions and 10 deletions
|
@ -46,13 +46,3 @@ using GPUVAddr = u64; ///< Represents a pointer in the GPU virtual address space
|
||||||
|
|
||||||
using u128 = std::array<std::uint64_t, 2>;
|
using u128 = std::array<std::uint64_t, 2>;
|
||||||
static_assert(sizeof(u128) == 16, "u128 must be 128 bits wide");
|
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;
|
|
||||||
};
|
|
||||||
|
|
Loading…
Reference in a new issue