aboutsummaryrefslogtreecommitdiff
path: root/paludis/qa/iuse_check.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-04 05:12:44 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-04 05:12:44 +0000
commit7e97ae154ccfdcc61dce79dcff3574d261a9ca39 (patch)
tree753db9efacdeb3123e716fb9d148cff6aa5dbcd5 /paludis/qa/iuse_check.cc
parent00d07ad717b23f89541aceae012084de47b28f46 (diff)
downloadpaludis-7e97ae154ccfdcc61dce79dcff3574d261a9ca39.tar.gz
paludis-7e97ae154ccfdcc61dce79dcff3574d261a9ca39.tar.xz
Re-add Gems, using Syck instead of libyaml. Various code cleanups.
Diffstat (limited to 'paludis/qa/iuse_check.cc')
-rw-r--r--paludis/qa/iuse_check.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/qa/iuse_check.cc b/paludis/qa/iuse_check.cc
index 6c4d450..af03b81 100644
--- a/paludis/qa/iuse_check.cc
+++ b/paludis/qa/iuse_check.cc
@@ -28,6 +28,7 @@
#include <paludis/util/log.hh>
#include <paludis/util/system.hh>
#include <paludis/util/iterator.hh>
+#include <paludis/util/tr1_functional.hh>
#include <paludis/qa/qa_environment.hh>
#include <algorithm>
@@ -59,8 +60,7 @@ IuseCheck::operator() (const EbuildCheckData & e) const
{
std::set<UseFlagName> iuse;
std::copy(metadata->ebuild_interface->iuse()->begin(), metadata->ebuild_interface->iuse()->end(),
- transform_inserter(std::inserter(iuse, iuse.begin()),
- SelectMember<IUseFlag, UseFlagName, &IUseFlag::flag>()));
+ transform_inserter(std::inserter(iuse, iuse.begin()), tr1::mem_fn(&IUseFlag::flag)));
static std::set<UseFlagName> iuse_blacklist;
if (iuse_blacklist.empty())