diff options
Diffstat (limited to 'libbuild2/functions-process-path.cxx')
-rw-r--r-- | libbuild2/functions-process-path.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbuild2/functions-process-path.cxx b/libbuild2/functions-process-path.cxx index 86d4445..199ad0d 100644 --- a/libbuild2/functions-process-path.cxx +++ b/libbuild2/functions-process-path.cxx @@ -16,8 +16,8 @@ namespace build2 // As discussed in value_traits<process_path>, we always have recall. // - f["recall"] = &process_path::recall; - f["effect"] = [](process_path p) + f["recall"] += &process_path::recall; + f["effect"] += [](process_path p) { return move (p.effect.empty () ? p.recall : p.effect); }; @@ -26,8 +26,8 @@ namespace build2 { function_family f (m, "process_path_ex"); - f["name"] = &process_path_ex::name; - f["checksum"] = &process_path_ex::checksum; + f["name"] += &process_path_ex::name; + f["checksum"] += &process_path_ex::checksum; } } } |