diff options
Diffstat (limited to 'lout/container.cc')
-rw-r--r-- | lout/container.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lout/container.cc b/lout/container.cc index 6c886baa..d44d92d4 100644 --- a/lout/container.cc +++ b/lout/container.cc @@ -77,7 +77,7 @@ Iterator &Iterator::operator=(Iterator &it2) Iterator::~Iterator() { if (impl) - impl->unref(); + impl->unref(); } // ---------------- @@ -241,7 +241,7 @@ void List::append(Object *element) if (last) { last->next = newLast; last = newLast; - } else + } else first = last = newLast; numElements++; |