summaryrefslogtreecommitdiff
path: root/games/pipenightdreams/files/patch-src__list.cpp
blob: 5a00b8e8fa4a7138019b699835910b7914d6dc41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./src/list.cpp.orig	2002-01-17 20:56:35.000000000 +0100
+++ ./src/list.cpp	2014-02-01 23:41:06.000000000 +0100
@@ -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);
 }