aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_installed_repository_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/e_installed_repository_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/e_installed_repository_id.cc')
-rw-r--r--paludis/repositories/e/e_installed_repository_id.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/e_installed_repository_id.cc b/paludis/repositories/e/e_installed_repository_id.cc
index 6248e3663..141ee8e12 100644
--- a/paludis/repositories/e/e_installed_repository_id.cc
+++ b/paludis/repositories/e/e_installed_repository_id.cc
@@ -518,10 +518,10 @@ EInstalledRepositoryID::need_keys_added() const
if (_imp->eapi->supported())
_imp->keys->choices = std::make_shared<EChoicesKey>(_imp->environment, shared_from_this(), "PALUDIS_CHOICES",
_imp->eapi->supported()->ebuild_environment_variables()->description_choices(),
- mkt_normal, make_null_shared_ptr(), make_null_shared_ptr());
+ mkt_normal, make_null_shared_ptr(), std::bind(return_literal_function(make_null_shared_ptr())));
else
_imp->keys->choices = std::make_shared<EChoicesKey>(_imp->environment, shared_from_this(), "PALUDIS_CHOICES", "Choices", mkt_normal,
- make_null_shared_ptr(), make_null_shared_ptr());
+ make_null_shared_ptr(), std::bind(return_literal_function(make_null_shared_ptr())));
add_metadata_key(_imp->keys->choices);