remove BufferIterator::buffer()
This commit is contained in:
parent
9fb4d42408
commit
a23aa10797
|
@ -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:
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user