aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/prefer_or_avoid_helper.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-03-06 19:02:29 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-03-06 19:02:29 +0000
commit12e3419717f48a544b5fe79ab0a166ad0208e778 (patch)
treeaaf6e033d6f12cd793b310d24c8ac2350e67371d /paludis/resolver/prefer_or_avoid_helper.hh
parentdc5ee49682b15d687b185401ee606fc08f75c6c8 (diff)
downloadpaludis-12e3419717f48a544b5fe79ab0a166ad0208e778.tar.gz
paludis-12e3419717f48a544b5fe79ab0a166ad0208e778.tar.xz
Fix segfault
Diffstat (limited to 'paludis/resolver/prefer_or_avoid_helper.hh')
-rw-r--r--paludis/resolver/prefer_or_avoid_helper.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/resolver/prefer_or_avoid_helper.hh b/paludis/resolver/prefer_or_avoid_helper.hh
index 7d1c6ea13..3d4d45cd2 100644
--- a/paludis/resolver/prefer_or_avoid_helper.hh
+++ b/paludis/resolver/prefer_or_avoid_helper.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2010, 2011 Ciaran McCreesh
+ * Copyright (c) 2010, 2011, 2014 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -50,7 +50,7 @@ namespace paludis
void add_prefer_matching(const std::shared_ptr<const PackageIDSequence> &);
void add_avoid_matching(const std::shared_ptr<const PackageIDSequence> &);
- Tribool operator() (const PackageDepSpec &) const;
+ Tribool operator() (const PackageDepSpec &, const std::shared_ptr<const PackageID> &) const;
};
}