mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-12 14:07:57 -05:00
NVDRV: Refactor and add new NvMap.
This commit is contained in:
@ -127,11 +127,14 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
// This constructor and assignment operator might be considered ambiguous:
|
||||
// Would they initialize the storage or just the bitfield?
|
||||
// Hence, delete them. Use the Assign method to set bitfield values!
|
||||
BitField(T val) = delete;
|
||||
BitField& operator=(T val) = delete;
|
||||
BitField(T val) {
|
||||
Assign(val);
|
||||
}
|
||||
|
||||
BitField& operator=(T val) {
|
||||
Assign(val);
|
||||
return *this;
|
||||
}
|
||||
|
||||
constexpr BitField() noexcept = default;
|
||||
|
||||
|
Reference in New Issue
Block a user