aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/orderer.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/resolver/orderer.cc
parentb22056183d6a0e94e28e025c6bae6970979c26c0 (diff)
downloadpaludis-cc129190d549f69eccc67407946261544d538a91.tar.gz
paludis-cc129190d549f69eccc67407946261544d538a91.tar.xz
New improved NamedValue syntax
Diffstat (limited to 'paludis/resolver/orderer.cc')
-rw-r--r--paludis/resolver/orderer.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/paludis/resolver/orderer.cc b/paludis/resolver/orderer.cc
index 999b85e5f..4af4da9ac 100644
--- a/paludis/resolver/orderer.cc
+++ b/paludis/resolver/orderer.cc
@@ -200,16 +200,16 @@ namespace
/* we can't install until we've fetched */
install_job->arrows()->push_back(make_named_values<Arrow>(
- value_for<n::comes_after>(fetch_job->id()),
- value_for<n::failure_kinds>(FailureKinds()),
- value_for<n::maybe_reason>(make_null_shared_ptr())
+ n::comes_after() = fetch_job->id(),
+ n::failure_kinds() = FailureKinds(),
+ n::maybe_reason() = make_null_shared_ptr()
));
/* we aren't usable until we've been installed */
usable_job->arrows()->push_back(make_named_values<Arrow>(
- value_for<n::comes_after>(install_job->id()),
- value_for<n::failure_kinds>(FailureKinds()),
- value_for<n::maybe_reason>(make_null_shared_ptr())
+ n::comes_after() = install_job->id(),
+ n::failure_kinds() = FailureKinds(),
+ n::maybe_reason() = make_null_shared_ptr()
));
/* do we need confirmation of this? */
@@ -430,9 +430,9 @@ namespace
* blocker is currently met */
jobs->fetch(jobs->find_id_for_installed(r.from_resolvent()))->arrows()->push_back(
make_named_values<Arrow>(
- value_for<n::comes_after>(our_identifier),
- value_for<n::failure_kinds>(failure_kinds),
- value_for<n::maybe_reason>(reason)
+ n::comes_after() = our_identifier,
+ n::failure_kinds() = failure_kinds,
+ n::maybe_reason() = reason
));
}
}
@@ -462,9 +462,9 @@ namespace
if (is_usable)
jobs->fetch(jobs->find_id_for_installed(r.from_resolvent()))->arrows()->push_back(
make_named_values<Arrow>(
- value_for<n::comes_after>(our_identifier),
- value_for<n::failure_kinds>(failure_kinds),
- value_for<n::maybe_reason>(reason)
+ n::comes_after() = our_identifier,
+ n::failure_kinds() = failure_kinds,
+ n::maybe_reason() = reason
));
}
@@ -474,9 +474,9 @@ namespace
if (is_usable)
jobs->fetch(jobs->find_id_for_usable(r.from_resolvent()))->arrows()->push_back(
make_named_values<Arrow>(
- value_for<n::comes_after>(our_identifier),
- value_for<n::failure_kinds>(failure_kinds),
- value_for<n::maybe_reason>(reason)
+ n::comes_after() = our_identifier,
+ n::failure_kinds() = failure_kinds,
+ n::maybe_reason() = reason
));
}
}