aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-14 03:01:53 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-14 03:13:56 +0100
commiteb2e3b17d993e13cd781c9e6242443739a24f491 (patch)
tree5208f04e886b336b2482c6291dbd50da43595dfa
parentbb9aecd155d593f318aa0ecf0f0fc484e5fe7e99 (diff)
downloadpaludis-eb2e3b17d993e13cd781c9e6242443739a24f491.tar.gz
paludis-eb2e3b17d993e13cd781c9e6242443739a24f491.tar.xz
Update Unavailable for previous (continued)
-rw-r--r--paludis/repositories/unavailable/unavailable_id.cc12
-rw-r--r--paludis/repositories/unavailable/unavailable_id.hh3
2 files changed, 4 insertions, 11 deletions
diff --git a/paludis/repositories/unavailable/unavailable_id.cc b/paludis/repositories/unavailable/unavailable_id.cc
index d9c3b5b..e93dbb3 100644
--- a/paludis/repositories/unavailable/unavailable_id.cc
+++ b/paludis/repositories/unavailable/unavailable_id.cc
@@ -294,16 +294,10 @@ UnavailableID::installed_time_key() const
return std::tr1::shared_ptr<const MetadataTimeKey>();
}
-const std::tr1::shared_ptr<const MetadataValueKey<std::string> >
-UnavailableID::source_origin_key() const
+const std::tr1::shared_ptr<const MetadataCollectionKey<Set<std::string> > >
+UnavailableID::from_repositories_key() const
{
- return std::tr1::shared_ptr<const MetadataValueKey<std::string> >();
-}
-
-const std::tr1::shared_ptr<const MetadataValueKey<std::string> >
-UnavailableID::binary_origin_key() const
-{
- return std::tr1::shared_ptr<const MetadataValueKey<std::string> >();
+ return std::tr1::shared_ptr<const MetadataCollectionKey<Set<std::string> > >();
}
template class PrivateImplementationPattern<UnavailableID>;
diff --git a/paludis/repositories/unavailable/unavailable_id.hh b/paludis/repositories/unavailable/unavailable_id.hh
index aec2ea1..6d7732a 100644
--- a/paludis/repositories/unavailable/unavailable_id.hh
+++ b/paludis/repositories/unavailable/unavailable_id.hh
@@ -84,10 +84,9 @@ namespace paludis
const std::tr1::shared_ptr<const MetadataValueKey<std::tr1::shared_ptr<const Contents> > >
contents_key() const;
const std::tr1::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- const std::tr1::shared_ptr<const MetadataValueKey<std::string> > source_origin_key() const;
- const std::tr1::shared_ptr<const MetadataValueKey<std::string> > binary_origin_key() const;
const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > fs_location_key() const;
const std::tr1::shared_ptr<const MetadataValueKey<bool> > transient_key() const;
+ const std::tr1::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
bool supports_action(const SupportsActionTestBase &) const
PALUDIS_ATTRIBUTE((warn_unused_result));