aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-06-12 09:06:13 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-06-14 12:37:55 +0000
commitcfeedb8b24a223070748cf7b6115fda839b86571 (patch)
tree9fedf3d220e707f72f6d36edab80d6f1d4cc7d92
parentd99bb263e14e028a37dc58a2e4adb7ac43ecaa4d (diff)
downloadpaludis-cfeedb8b24a223070748cf7b6115fda839b86571.tar.gz
paludis-cfeedb8b24a223070748cf7b6115fda839b86571.tar.xz
Use the description as short_description_key
-rw-r--r--paludis/repositories/unavailable/unavailable_id.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/unavailable/unavailable_id.cc b/paludis/repositories/unavailable/unavailable_id.cc
index e2a5e7e..d9c3b5b 100644
--- a/paludis/repositories/unavailable/unavailable_id.cc
+++ b/paludis/repositories/unavailable/unavailable_id.cc
@@ -45,7 +45,7 @@ namespace paludis
const SlotName slot;
const UnavailableRepository * const repo;
- const std::tr1::shared_ptr<const MetadataKey> description_key;
+ const std::tr1::shared_ptr<const MetadataValueKey<std::string> > description_key;
const std::tr1::shared_ptr<const MetadataValueKey<std::string> > owning_repository_key, repository_homepage_key, repository_description_key;
const std::tr1::shared_ptr<const Mask> mask;
@@ -261,7 +261,7 @@ UnavailableID::suggested_dependencies_key() const
const std::tr1::shared_ptr<const MetadataValueKey<std::string> >
UnavailableID::short_description_key() const
{
- return std::tr1::shared_ptr<const MetadataValueKey<std::string> >();
+ return _imp->description_key;
}
const std::tr1::shared_ptr<const MetadataValueKey<std::string> >