aboutsummaryrefslogtreecommitdiff
path: root/paludis/user_dep_spec.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-14 17:40:39 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-09-14 18:06:37 +0100
commit7ce0a00a008983de8a8e61d33d41a4f41147db9b (patch)
treeba35068b18f5745145d0eefe02df85c0cd0aa5cc /paludis/user_dep_spec.hh
parent2bff9772cc069fe98e281432bddd0b35c1e934e4 (diff)
downloadpaludis-7ce0a00a008983de8a8e61d33d41a4f41147db9b.tar.gz
paludis-7ce0a00a008983de8a8e61d33d41a4f41147db9b.tar.xz
Refactor to allow subslots
Diffstat (limited to 'paludis/user_dep_spec.hh')
-rw-r--r--paludis/user_dep_spec.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/user_dep_spec.hh b/paludis/user_dep_spec.hh
index c2256207a..92c01a979 100644
--- a/paludis/user_dep_spec.hh
+++ b/paludis/user_dep_spec.hh
@@ -53,8 +53,8 @@ namespace paludis
PackageDepSpec envless_parse_package_dep_spec_for_tests(
const std::string &) PALUDIS_VISIBLE;
- class PALUDIS_VISIBLE UserSlotExactRequirement :
- public SlotExactRequirement
+ class PALUDIS_VISIBLE UserSlotExactPartialRequirement :
+ public SlotExactPartialRequirement
{
private:
const SlotName _s;
@@ -63,13 +63,13 @@ namespace paludis
///\name Basic operations
///\{
- UserSlotExactRequirement(const SlotName &);
+ UserSlotExactPartialRequirement(const SlotName &);
///\}
virtual const SlotName slot() const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual const std::string as_string() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool from_any_locked() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::shared_ptr<const SlotRequirement> maybe_original_requirement_if_rewritten() const PALUDIS_ATTRIBUTE((warn_unused_result));
};
/**