aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus/examples/example_action.cc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/cplusplus/examples/example_action.cc')
-rw-r--r--doc/api/cplusplus/examples/example_action.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/cplusplus/examples/example_action.cc b/doc/api/cplusplus/examples/example_action.cc
index d16f0a1..dbbe9f0 100644
--- a/doc/api/cplusplus/examples/example_action.cc
+++ b/doc/api/cplusplus/examples/example_action.cc
@@ -77,14 +77,14 @@ int main(int argc, char * argv[])
* and whether unneeded (e.g. due to disabled USE flags) and
* unmirrorable source files should still be fetched. */
FetchAction fetch_action(make_named_values<FetchActionOptions>(
- value_for<n::errors>(failures),
- value_for<n::exclude_unmirrorable>(false),
- value_for<n::fetch_parts>(FetchParts() + fp_regulars + fp_extras),
- value_for<n::ignore_not_in_manifest>(false),
- value_for<n::ignore_unfetched>(false),
- value_for<n::make_output_manager>(&make_standard_output_manager),
- value_for<n::safe_resume>(true),
- value_for<n::want_phase>(std::tr1::bind(return_literal_function(wp_yes)))
+ n::errors() = failures,
+ n::exclude_unmirrorable() = false,
+ n::fetch_parts() = FetchParts() + fp_regulars + fp_extras,
+ n::ignore_not_in_manifest() = false,
+ n::ignore_unfetched() = false,
+ n::make_output_manager() = &make_standard_output_manager,
+ n::safe_resume() = true,
+ n::want_phase() = std::tr1::bind(return_literal_function(wp_yes))
));
try
{