You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch

21 lines
489 B

--- a/BPList.h
+++ a/BPList.h
@@ -138,7 +138,7 @@
~BPPList();
void Add(T item);
bool Contains(T item);
- void Clear(bool safe_delete);
+ void Clear(bool safe_delete = true);
int IndexOf(T item);
void Insert(int pos, T item);
void Remove(T item);
@@ -171,7 +171,7 @@
}
template <class T>
-void BPPList<T>::Clear(bool safe_delete = true) {
+void BPPList<T>::Clear(bool safe_delete) {
if (safe_delete) {
for (int i = data.size() - 1; i >= 0; --i) {
T item = data[i];