From c36256531396d75333669fafd5443c182bb0ab5e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 6 Jul 2007 22:04:40 +0000 Subject: Fixed an annoying bug in Bu::List::erase that caused you to not be able to call lThings.erase( lThings.begin() ); --- src/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list.h b/src/list.h index e05ebbc..3e5e292 100644 --- a/src/list.h +++ b/src/list.h @@ -396,7 +396,7 @@ namespace Bu * Erase an item from the list. *@param i (iterator) The item to erase. */ - void erase( iterator &i ) + void erase( iterator i ) { Link *pCur = i.pLink; Link *pPrev = pCur->pPrev; -- cgit v1.2.3