aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild_id.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-25 08:24:02 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-25 09:02:24 +0100
commit7547462975c726ad00c1e9006b0574c30967e01d (patch)
tree41658391325e47df6cd45a54d289f9d270084fdf /paludis/repositories/e/ebuild_id.cc
parent89128c990d4dd0e1625dc07123811e67486b43b1 (diff)
downloadpaludis-7547462975c726ad00c1e9006b0574c30967e01d.tar.gz
paludis-7547462975c726ad00c1e9006b0574c30967e01d.tar.xz
Allow choice descriptions to be loaded later
Diffstat (limited to 'paludis/repositories/e/ebuild_id.cc')
-rw-r--r--paludis/repositories/e/ebuild_id.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/ebuild_id.cc b/paludis/repositories/e/ebuild_id.cc
index 9ef642514..551596a01 100644
--- a/paludis/repositories/e/ebuild_id.cc
+++ b/paludis/repositories/e/ebuild_id.cc
@@ -431,7 +431,7 @@ EbuildID::need_keys_added() const
_imp->choices = std::make_shared<EChoicesKey>(_imp->environment, shared_from_this(), "PALUDIS_CHOICES",
_imp->eapi->supported()->ebuild_environment_variables()->description_choices(),
mkt_normal, e_repo,
- maybe_use_descriptions);
+ std::bind(return_literal_function(maybe_use_descriptions)));
if (_imp->eapi->supported()->is_pbin())
{
@@ -441,7 +441,7 @@ EbuildID::need_keys_added() const
}
else
_imp->choices = std::make_shared<EChoicesKey>(_imp->environment, shared_from_this(), "PALUDIS_CHOICES", "Choices", mkt_normal,
- e_repo, maybe_use_descriptions);
+ e_repo, std::bind(return_literal_function(maybe_use_descriptions)));
add_metadata_key(_imp->choices);
}