Update copy/move constructors/operators
Former-commit-id: b1faeeae9211a6c0ca29261d46929dc8c66ea0c4
This commit is contained in:
@@ -14,6 +14,8 @@ class NAZARA_CORE_API NzMemoryStream : public NzInputStream
|
||||
{
|
||||
public:
|
||||
NzMemoryStream(const void* ptr, nzUInt64 size);
|
||||
NzMemoryStream(const NzMemoryStream&) = delete;
|
||||
NzMemoryStream(NzMemoryStream&&) = delete; ///TODO
|
||||
~NzMemoryStream();
|
||||
|
||||
bool EndOfStream() const;
|
||||
@@ -25,6 +27,9 @@ class NAZARA_CORE_API NzMemoryStream : public NzInputStream
|
||||
|
||||
bool SetCursorPos(nzUInt64 offset);
|
||||
|
||||
NzMemoryStream& operator=(const NzMemoryStream&) = delete;
|
||||
NzMemoryStream& operator=(NzMemoryStream&&) = delete; ///TODO
|
||||
|
||||
private:
|
||||
const nzUInt8* m_ptr;
|
||||
nzUInt64 m_pos;
|
||||
|
||||
Reference in New Issue
Block a user