summaryrefslogtreecommitdiffhomepage
path: root/FoundationEx/List.inl
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /FoundationEx/List.inl
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'FoundationEx/List.inl')
-rw-r--r--FoundationEx/List.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/FoundationEx/List.inl b/FoundationEx/List.inl
index 7f552c4..c4fe66c 100644
--- a/FoundationEx/List.inl
+++ b/FoundationEx/List.inl
@@ -161,7 +161,7 @@ void List<T>::resize(int newsize)
for (; i < extent; i++)
v[i] = 0;
- delete [] array;
+ delete [] array;
array = v;
}
}
@@ -196,7 +196,7 @@ void List<T>::insert(const T* item, int index)
{
if (item && index >= 0 && index <= items) {
if (items+1 > extent) resize(items+1);
-
+
// slide right:
for (int i = items; i > index; i--)
array[i] = array[i-1];
@@ -235,7 +235,7 @@ T* List<T>::remove(const T* val)
return removeIndex(i);
}
}
-
+
return 0;
}