aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/qpn_s.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/qpn_s.hh')
-rw-r--r--paludis/resolver/qpn_s.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/resolver/qpn_s.hh b/paludis/resolver/qpn_s.hh
index cf7a21aac..35af8ddcd 100644
--- a/paludis/resolver/qpn_s.hh
+++ b/paludis/resolver/qpn_s.hh
@@ -46,7 +46,7 @@ namespace paludis
public:
QPN_S(const QualifiedPackageName &, const std::tr1::shared_ptr<const SlotName> &);
QPN_S(const PackageDepSpec &, const std::tr1::shared_ptr<const SlotName> &);
- QPN_S(const std::tr1::shared_ptr<const PackageID> &);
+ explicit QPN_S(const std::tr1::shared_ptr<const PackageID> &);
QPN_S(const QPN_S &);
~QPN_S();
@@ -56,6 +56,7 @@ namespace paludis
Filter make_slot_filter() const PALUDIS_ATTRIBUTE((warn_unused_result));
bool operator< (const QPN_S & other) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool operator== (const QPN_S & other) const PALUDIS_ATTRIBUTE((warn_unused_result));
};
}