Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
brainparty
fix-FTBFS-with-GCC-4.9.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-FTBFS-with-GCC-4.9.patch of Package brainparty
From: Markus Koschany <apo@gambaru.de> Date: Mon, 5 May 2014 13:20:33 +0200 Subject: fix FTBFS with GCC 4.9 --- BPList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BPList.h b/BPList.h index 5c986cb..28cc2bb 100644 --- a/BPList.h +++ b/BPList.h @@ -138,7 +138,7 @@ public: ~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 @@ bool BPPList<T>::Contains(T item) { } 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];
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor