Fixup e2cf6731: fix thinko

The current buffer is part of allRelatives(), contrary to what I
thought. Therefore updateId() increased the buffer id by two.

(cherry picked from commit 2eb4e3d3ca)
This commit is contained in:
Jean-Marc Lasgouttes 2024-08-30 15:07:03 +02:00
parent e2cf6731c0
commit 76ef192214

View File

@ -821,7 +821,6 @@ int Buffer::id() const
void Buffer::updateId()
{
++d->id_;
for(Buffer * b : allRelatives())
++(b->d->id_);
}