summaryrefslogtreecommitdiff
path: root/misc/kdepim4/patches/patch-kleopatra_utils_stl__util.h
blob: 63594e9e52bf41caa5f84338fb9a31e02386e4c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-kleopatra_utils_stl__util.h,v 1.1 2013/06/13 14:29:37 joerg Exp $

--- kleopatra/utils/stl_util.h.orig	2013-06-12 20:35:45.000000000 +0000
+++ kleopatra/utils/stl_util.h
@@ -347,7 +347,7 @@ namespace kdtools {
     template <typename O, typename I, typename P>
     O copy_if( const I & i, P p ) {
         O o;
-        copy_if( boost::begin( i ), boost::end( i ), std::back_inserter( o ), p );
+        kdtools::copy_if( boost::begin( i ), boost::end( i ), std::back_inserter( o ), p );
         return o;
     }
 
@@ -390,7 +390,7 @@ namespace kdtools {
 
     template <typename C, typename P>
     bool none_of( const C & c, P p ) {
-        return none_of( boost::begin( c ), boost::end( c ), p );
+        return kdtools::none_of( boost::begin( c ), boost::end( c ), p );
     }
 
     template <typename C, typename B>