Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=8e5c57924e78c3ddef2832b7efeabbbedb1dbb4d
commit 8e5c57924e78c3ddef2832b7efeabbbedb1dbb4d Author: Michel Hermier <[email protected]> Date: Fri Nov 14 12:06:01 2014 +0100 libpacman: Add missing const to flib::list::any_match_if. diff --git a/lib/libpacman/util/flist.h b/lib/libpacman/util/flist.h index 503ba22..e179639 100644 --- a/lib/libpacman/util/flist.h +++ b/lib/libpacman/util/flist.h @@ -835,7 +835,7 @@ namespace flib } template <class UnaryPredicate> - bool any_match_if(UnaryPredicate pred) + bool any_match_if(UnaryPredicate pred) const { return flib::any_match_if(begin(), end(), pred); } _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
