2014-02-02 01:20:09 +01:00
|
|
|
--- ./src/list.cpp.orig 2002-01-17 20:56:35.000000000 +0100
|
|
|
|
+++ ./src/list.cpp 2014-02-01 23:41:06.000000000 +0100
|
2005-04-23 23:06:40 +02:00
|
|
|
@@ -125,7 +125,7 @@
|
|
|
|
return (insert(indexOf(i), obj));
|
|
|
|
}
|
|
|
|
|
|
|
|
-List::Result List::remove(Index * index, bool del=false){
|
|
|
|
+List::Result List::remove(Index * index, bool del){
|
|
|
|
if (isEmpty()) return EmptyList;
|
|
|
|
if (!index) return NullIndex;
|
|
|
|
|
|
|
|
@@ -155,7 +155,7 @@
|
|
|
|
return Removed;
|
|
|
|
}
|
|
|
|
|
|
|
|
-void List::empty(bool del=true){
|
|
|
|
+void List::empty(bool del){
|
|
|
|
while (!isEmpty())
|
|
|
|
remove(getFirst(), del);
|
|
|
|
}
|