aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/info_metadata_key.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-12 14:28:03 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-12 14:45:22 +0100
commit120c58323950219e16d8fe22693af221d2887f9b (patch)
tree2df48534abea1af807750dbbd0ce3ac9922bd44b /paludis/repositories/e/info_metadata_key.cc
parent271074eb112e276d5ba25f91785431911ee3443f (diff)
downloadpaludis-120c58323950219e16d8fe22693af221d2887f9b.tar.gz
paludis-120c58323950219e16d8fe22693af221d2887f9b.tar.xz
MetadataKey value -> parse_value
Diffstat (limited to 'paludis/repositories/e/info_metadata_key.cc')
-rw-r--r--paludis/repositories/e/info_metadata_key.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/paludis/repositories/e/info_metadata_key.cc b/paludis/repositories/e/info_metadata_key.cc
index f90ecb9e5..2776f51a6 100644
--- a/paludis/repositories/e/info_metadata_key.cc
+++ b/paludis/repositories/e/info_metadata_key.cc
@@ -99,7 +99,7 @@ InfoVarsMetadataKey::~InfoVarsMetadataKey()
}
const std::shared_ptr<const Set<std::string> >
-InfoVarsMetadataKey::value() const
+InfoVarsMetadataKey::parse_value() const
{
Lock l(_imp->mutex);
@@ -189,7 +189,7 @@ InfoPkgsMetadataKey::need_keys_added() const
generator::Matches(parse_elike_package_dep_spec(i->first,
eapi->supported()->package_dep_spec_parse_options(),
eapi->supported()->version_spec_options()), make_null_shared_ptr(), { }) |
- filter::InstalledAtRoot(_imp->env->preferred_root_key()->value()))]);
+ filter::InstalledAtRoot(_imp->env->preferred_root_key()->parse_value()))]);
if (q->empty())
key = std::make_shared<LiteralMetadataValueKey<std::string>>(i->first, i->first, mkt_normal, "(none)");
@@ -215,7 +215,8 @@ InfoVarsMetadataKey::pretty_print_value(
const PrettyPrintOptions &) const
{
using namespace std::placeholders;
- return join(value()->begin(), value()->end(), " ", CallPrettyPrinter(pretty_printer));
+ auto v(parse_value());
+ return join(v->begin(), v->end(), " ", CallPrettyPrinter(pretty_printer));
}
const std::string