aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/test')
-rw-r--r--libbuild2/test/script/parser.test.cxx4
-rw-r--r--libbuild2/test/script/script.hxx1
2 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/test/script/parser.test.cxx b/libbuild2/test/script/parser.test.cxx
index 7339346..6838e47 100644
--- a/libbuild2/test/script/parser.test.cxx
+++ b/libbuild2/test/script/parser.test.cxx
@@ -121,8 +121,8 @@ namespace build2
assert (!c.out && !c.err && !c.exit);
cf (env, c.arguments,
- fdopen_null (), false /* pipe */,
- nullopt /* deadline */, c,
+ fdopen_null (), nullptr /* pipe */,
+ nullopt /* deadline */,
ll);
}
diff --git a/libbuild2/test/script/script.hxx b/libbuild2/test/script/script.hxx
index 3c2cbc4..9409b01 100644
--- a/libbuild2/test/script/script.hxx
+++ b/libbuild2/test/script/script.hxx
@@ -32,6 +32,7 @@ namespace build2
using build2::script::environment_vars;
using build2::script::deadline;
using build2::script::timeout;
+ using build2::script::pipe_command;
using build2::script::command_function;
class parser; // Required by VC for 'friend class parser' declaration.