Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
libqtpod
libqtpod-0.4.2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libqtpod-0.4.2.patch of Package libqtpod
--- src/utils.h +++ src/utils.h @@ -44,6 +44,8 @@ #define MAC_EPOCH_DELTA 2082844800 +#include <algorithm> + namespace itunesdb { namespace utils { @@ -590,7 +594,7 @@ */ void randomize() { ++m_version; // invalidate iterators - std::random_shuffle( BaseContainerType::begin(), BaseContainerType::end() ); + random_shuffle( BaseContainerType::begin(), BaseContainerType::end() ); } struct SmallerBinaryPredicate { @@ -630,7 +634,7 @@ SmallerBinaryPredicate pred( m_comparator ); FindFirstNotLessThan finder( pred, item ); - PrivateIterator pos = std::find_if( BaseContainerType::begin(), BaseContainerType::end(), finder ); + PrivateIterator pos = find_if( BaseContainerType::begin(), BaseContainerType::end(), finder ); if ( pos == BaseContainerType::end() ) { idx = BaseContainerType::size(); BaseContainerType::push_back( item );
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