diff options
author | David Robillard <d@drobilla.net> | 2008-11-24 02:19:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-24 02:19:31 +0000 |
commit | d72ac5f6b191870df10f6b29664934cf50158c89 (patch) | |
tree | f362f35f53974ba7401fe71ec48c8df865fdf3a5 | |
parent | c894b33088b9c64316b747f05abc5dd0f868f7bf (diff) | |
download | raul-d72ac5f6b191870df10f6b29664934cf50158c89.tar.gz raul-d72ac5f6b191870df10f6b29664934cf50158c89.tar.bz2 raul-d72ac5f6b191870df10f6b29664934cf50158c89.zip |
Fix compilation.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1777 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | raul/ListImpl.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/raul/ListImpl.hpp b/raul/ListImpl.hpp index 815afcb..24fc761 100644 --- a/raul/ListImpl.hpp +++ b/raul/ListImpl.hpp @@ -223,11 +223,11 @@ List<T>::chop_front(List<T>& front, size_t front_size, Node* new_head) } else { front._size = front_size; front._head = _head; - front._tail = new_head->_prev; + front._tail = new_head->prev(); if (new_head->prev()) - new_head->prev()->_next = NULL; + new_head->prev()->next(NULL); _head = new_head; - new_head->_prev = NULL; + new_head->prev(NULL); _size -= front_size; } assert((front._head.get() && front._tail.get()) || (!front._head.get() && !front._tail.get())); |