aboutsummaryrefslogtreecommitdiff
path: root/build2/utility
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-21 12:38:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-21 12:38:35 +0200
commit3b6f882ce0dae1d80a330b36a63fbe65026a3278 (patch)
treef44ad1a4c688ad224f728dd433a828aa7aea7482 /build2/utility
parentbdabddcc90a5cc203a2821c8229e7238c32f5ba6 (diff)
Adjust to new butl::process interface
Diffstat (limited to 'build2/utility')
-rw-r--r--build2/utility6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/utility b/build2/utility
index a636c01..ee12545 100644
--- a/build2/utility
+++ b/build2/utility
@@ -85,10 +85,10 @@ namespace build2
// in case of an error.
//
process
- start_run (const char* const* args, bool error);
+ start_run (const char* args[], bool error);
bool
- finish_run (const char* const* args, bool error, process&, const string&);
+ finish_run (const char* args[], bool error, process&, const string&);
// Start the process as above and then call the specified function on each
// trimmed line of the output until it returns a non-empty object T (tested
@@ -106,7 +106,7 @@ namespace build2
//
template <typename T>
T
- run (const char* const* args,
+ run (const char* args[],
T (*) (string&),
bool error = true,
bool ignore_exit = false,