Added missing copy assignment operator for ConstMemoryView.

This commit is contained in:
Patrick 2025-07-08 00:35:12 +02:00
parent 8ad34427f3
commit cf860392a5

View File

@ -125,6 +125,8 @@ public:
template<MemoryViewable T>
ConstMemoryView(const T& memoryViewable) MIJIN_NOEXCEPT : data_(memoryViewable.data()), byteSize_(memoryViewable.byteSize()) {}
ConstMemoryView& operator=(const ConstMemoryView& other) MIJIN_NOEXCEPT = default;
[[nodiscard]]
const void* data() const MIJIN_NOEXCEPT { return data_; }