aboutsummaryrefslogtreecommitdiff
path: root/paludis/uninstall_task.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-05-19 16:01:04 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-05-19 16:01:04 +0100
commitcc129190d549f69eccc67407946261544d538a91 (patch)
tree08f0ffe78b5c3f63dfc89d32dba1d828a5107dd0 /paludis/uninstall_task.cc
parentb22056183d6a0e94e28e025c6bae6970979c26c0 (diff)
downloadpaludis-cc129190d549f69eccc67407946261544d538a91.tar.gz
paludis-cc129190d549f69eccc67407946261544d538a91.tar.xz
New improved NamedValue syntax
Diffstat (limited to 'paludis/uninstall_task.cc')
-rw-r--r--paludis/uninstall_task.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/paludis/uninstall_task.cc b/paludis/uninstall_task.cc
index d60371e..70ea16e 100644
--- a/paludis/uninstall_task.cc
+++ b/paludis/uninstall_task.cc
@@ -245,9 +245,9 @@ UninstallTask::execute()
on_build_unmergelist_pre();
UninstallList list(_imp->env, make_named_values<UninstallListOptions>(
- value_for<n::with_dependencies_as_errors>(_imp->check_safety),
- value_for<n::with_dependencies_included>(_imp->with_dependencies),
- value_for<n::with_unused_dependencies>(_imp->with_unused_dependencies)
+ n::with_dependencies_as_errors() = _imp->check_safety,
+ n::with_dependencies_included() = _imp->with_dependencies,
+ n::with_unused_dependencies() = _imp->with_unused_dependencies
));
if (_imp->unused)
@@ -382,11 +382,11 @@ UninstallTask::execute()
ClientOutputFeatures());
UninstallAction uninstall_action(
make_named_values<UninstallActionOptions>(
- value_for<n::config_protect>(""),
- value_for<n::if_for_install_id>(make_null_shared_ptr()),
- value_for<n::ignore_for_unmerge>(&ignore_nothing),
- value_for<n::is_overwrite>(false),
- value_for<n::make_output_manager>(std::tr1::ref(output_manager_holder))
+ n::config_protect() = "",
+ n::if_for_install_id() = make_null_shared_ptr(),
+ n::ignore_for_unmerge() = &ignore_nothing,
+ n::is_overwrite() = false,
+ n::make_output_manager() = std::tr1::ref(output_manager_holder)
));
i->package_id()->perform_action(uninstall_action);