From d72ac5f6b191870df10f6b29664934cf50158c89 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 24 Nov 2008 02:19:31 +0000 Subject: Fix compilation. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@1777 a436a847-0d15-0410-975c-d299462d15a1 --- raul/ListImpl.hpp | 6 +++--- 1 file 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::chop_front(List& 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())); -- cgit v1.2.1