remove BufferIterator::buffer()

This commit is contained in:
Maxime Coste 2013-06-04 18:55:06 +02:00
parent 9fb4d42408
commit a23aa10797
2 changed files with 0 additions and 7 deletions

View File

@ -64,7 +64,6 @@ public:
bool is_valid() const; bool is_valid() const;
const Buffer& buffer() const;
const BufferCoord& coord() const { return m_coord; } const BufferCoord& coord() const { return m_coord; }
private: private:

View File

@ -12,12 +12,6 @@ inline BufferIterator::BufferIterator(const Buffer& buffer, BufferCoord coord)
kak_assert(is_valid()); kak_assert(is_valid());
} }
inline const Buffer& BufferIterator::buffer() const
{
kak_assert(m_buffer);
return *m_buffer;
}
inline bool BufferIterator::is_valid() const inline bool BufferIterator::is_valid() const
{ {
return m_buffer and m_buffer->is_valid(m_coord); return m_buffer and m_buffer->is_valid(m_coord);