aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/functions-process-path.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-12-04 08:39:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-12-04 08:39:35 +0200
commit4168cda2363f3d796d0b9922852e249aac3131ba (patch)
tree3e74f8926ad2efe57ac8ffbeb03a8585f285e618 /libbuild2/functions-process-path.cxx
parent864d84abcf1579b81f54d8d3f79520137d81f629 (diff)
Mark Buildfile functions as pure or impure
Diffstat (limited to 'libbuild2/functions-process-path.cxx')
-rw-r--r--libbuild2/functions-process-path.cxx8
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;
}
}
}