diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-06 18:51:16 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-06 18:51:16 +0000 |
commit | 23cdade805f73557a183ccf881408844b40a9c1b (patch) | |
tree | 339634d4f4d5457bf15a4eeb3ca7acb44efcaf21 /games/brainparty | |
parent | aa373bec56358ade693f969e8d9b5ddd4fc33e61 (diff) | |
download | ports-23cdade805f73557a183ccf881408844b40a9c1b.tar.gz ports-23cdade805f73557a183ccf881408844b40a9c1b.zip |
Notes
Diffstat (limited to 'games/brainparty')
-rw-r--r-- | games/brainparty/files/patch-BPList.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games/brainparty/files/patch-BPList.h b/games/brainparty/files/patch-BPList.h new file mode 100644 index 000000000000..20da90d97ac8 --- /dev/null +++ b/games/brainparty/files/patch-BPList.h @@ -0,0 +1,20 @@ +--- BPList.h.orig 2010-03-02 16:29:45.000000000 +0300 ++++ BPList.h 2013-09-06 22:05:04.125227873 +0400 +@@ -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]; |