aboutsummaryrefslogtreecommitdiff
path: root/saga/list.h
diff options
context:
space:
mode:
authorEugene Sandulenko2005-07-30 21:11:48 +0000
committerEugene Sandulenko2005-07-30 21:11:48 +0000
commit6b4484472b79dc7ea7d1ce545a28fba7d3b7696f (patch)
treec44c4e61f18ddd537f7082cb48869cf33d422fbd /saga/list.h
parent86ab70b149e5cd00cf54f2e41896e2c4e16795e4 (diff)
downloadscummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.gz
scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.tar.bz2
scummvm-rg350-6b4484472b79dc7ea7d1ce545a28fba7d3b7696f.zip
Remove trailing whitespaces.
svn-id: r18604
Diffstat (limited to 'saga/list.h')
-rw-r--r--saga/list.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/saga/list.h b/saga/list.h
index 03cc7e5cd4..9c22180c84 100644
--- a/saga/list.h
+++ b/saga/list.h
@@ -84,17 +84,17 @@ public:
}
iterator reorderUp(iterator pos, CompareFunction compareFunction) {
- iterator i(pos);
+ iterator i(pos);
int res;
- --i;
+ --i;
while (i != Common::List<T>::end()) {
res = compareFunction(i.operator*(), pos.operator*());
if (res <= 0) {
T temp(*pos);
erase(pos);
- ++i;
+ ++i;
return insert(i, temp);
}
--i;
@@ -103,9 +103,9 @@ public:
}
iterator reorderDown(iterator pos, CompareFunction compareFunction) {
- iterator i(pos);
+ iterator i(pos);
int res;
-
+
++i;
while (i != Common::List<T>::end()) {
res = compareFunction(i.operator*(), pos.operator*());