DisplayBuffer: allow empty atoms, with begin == end
This commit is contained in:
parent
53ce1e016a
commit
88e31d8cce
|
@ -98,7 +98,7 @@ void DisplayBuffer::check_invariant() const
|
|||
{
|
||||
for (size_t i = 0; i < m_atoms.size(); ++i)
|
||||
{
|
||||
assert(m_atoms[i].end() > m_atoms[i].begin());
|
||||
assert(m_atoms[i].end() >= m_atoms[i].begin());
|
||||
if (i > 0)
|
||||
{
|
||||
assert(m_atoms[i-1].end() == m_atoms[i].begin());
|
||||
|
|
Loading…
Reference in New Issue
Block a user