Added missing copy assignment operator for ConstMemoryView.
This commit is contained in:
parent
8ad34427f3
commit
cf860392a5
@ -125,6 +125,8 @@ public:
|
|||||||
template<MemoryViewable T>
|
template<MemoryViewable T>
|
||||||
ConstMemoryView(const T& memoryViewable) MIJIN_NOEXCEPT : data_(memoryViewable.data()), byteSize_(memoryViewable.byteSize()) {}
|
ConstMemoryView(const T& memoryViewable) MIJIN_NOEXCEPT : data_(memoryViewable.data()), byteSize_(memoryViewable.byteSize()) {}
|
||||||
|
|
||||||
|
ConstMemoryView& operator=(const ConstMemoryView& other) MIJIN_NOEXCEPT = default;
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
const void* data() const MIJIN_NOEXCEPT { return data_; }
|
const void* data() const MIJIN_NOEXCEPT { return data_; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user