diff options
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.cc')
-rw-r--r-- | paludis/repositories/fake/fake_package_id.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc index e2c05b7b4..b63f5d24b 100644 --- a/paludis/repositories/fake/fake_package_id.cc +++ b/paludis/repositories/fake/fake_package_id.cc @@ -870,6 +870,15 @@ FakePackageID::set_slot(const SlotName & s) n::raw_value() = stringify(s))); } +void +FakePackageID::set_slot(const SlotName & s, const SlotName & t) +{ + _imp->slot->change_value(make_named_values<Slot>( + n::match_values() = std::make_pair(s, t), + n::parallel_value() = s, + n::raw_value() = stringify(s) + "/" + stringify(t))); +} + bool FakePackageID::arbitrary_less_than_comparison(const PackageID & other) const { |