BufferIterator holds a safe_ptr to their buffer instead of a raw pointer
This commit is contained in:
parent
037210c70c
commit
6ebe41b1a5
|
@ -75,7 +75,7 @@ public:
|
||||||
private:
|
private:
|
||||||
ByteCount offset() const;
|
ByteCount offset() const;
|
||||||
|
|
||||||
const Buffer* m_buffer;
|
safe_ptr<const Buffer> m_buffer;
|
||||||
BufferCoord m_coord;
|
BufferCoord m_coord;
|
||||||
friend class Buffer;
|
friend class Buffer;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user