aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/vdb_unmerger_TEST.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/repositories/e/vdb_unmerger_TEST.cc
parentb22056183d6a0e94e28e025c6bae6970979c26c0 (diff)
downloadpaludis-cc129190d549f69eccc67407946261544d538a91.tar.gz
paludis-cc129190d549f69eccc67407946261544d538a91.tar.xz
New improved NamedValue syntax
Diffstat (limited to 'paludis/repositories/e/vdb_unmerger_TEST.cc')
-rw-r--r--paludis/repositories/e/vdb_unmerger_TEST.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/paludis/repositories/e/vdb_unmerger_TEST.cc b/paludis/repositories/e/vdb_unmerger_TEST.cc
index b3ff6a4..7c7ceb2 100644
--- a/paludis/repositories/e/vdb_unmerger_TEST.cc
+++ b/paludis/repositories/e/vdb_unmerger_TEST.cc
@@ -123,15 +123,15 @@ namespace
env.package_database()->add_repository(0, repo);
unmerger.reset(new VDBUnmergerNoDisplay(make_named_values<VDBUnmergerOptions>(
- value_for<n::config_protect>("/protected_file /protected_dir"),
- value_for<n::config_protect_mask>("/protected_dir/unprotected_file /protected_dir/unprotected_dir"),
- value_for<n::environment>(&env),
- value_for<n::ignore>(&ignore_nothing),
- value_for<n::output_manager>(make_shared_ptr(new StandardOutputManager)),
- value_for<n::package_id>(*env[selection::RequireExactlyOne(generator::Matches(
+ n::config_protect() = "/protected_file /protected_dir",
+ n::config_protect_mask() = "/protected_dir/unprotected_file /protected_dir/unprotected_dir",
+ n::environment() = &env,
+ n::ignore() = &ignore_nothing,
+ n::output_manager() = make_shared_ptr(new StandardOutputManager),
+ n::package_id() = *env[selection::RequireExactlyOne(generator::Matches(
parse_user_package_dep_spec("cat/" + fix(what), &env, UserPackageDepSpecOptions()),
- MatchPackageOptions()))]->begin()),
- value_for<n::root>(root_dir)
+ MatchPackageOptions()))]->begin(),
+ n::root() = root_dir
)));
main_run();