BufferIterator holds a safe_ptr to their buffer instead of a raw pointer

This commit is contained in:
Maxime Coste 2012-11-12 20:07:33 +01:00
parent 037210c70c
commit 6ebe41b1a5

View File

@ -75,7 +75,7 @@ public:
private:
ByteCount offset() const;
const Buffer* m_buffer;
safe_ptr<const Buffer> m_buffer;
BufferCoord m_coord;
friend class Buffer;
};