aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-11-07 10:53:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-11-08 11:08:03 +0200
commit5efc7faaea8fc780cf0fc9d0629fc50ea4fbd3b4 (patch)
tree09a5e108372933a356ce87a7ea7edbe09295d582 /libbuild2/utility.ixx
parenta78a8fcd2506c6ea6046fed32a25f7df3eeca631 (diff)
Tighten args const-ness in the run*() function family
Diffstat (limited to 'libbuild2/utility.ixx')
-rw-r--r--libbuild2/utility.ixx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/utility.ixx b/libbuild2/utility.ixx
index f4b8152..c122ec9 100644
--- a/libbuild2/utility.ixx
+++ b/libbuild2/utility.ixx
@@ -103,7 +103,7 @@ namespace build2
run (context& ctx,
uint16_t verbosity,
const process_env& pe,
- const char* args[],
+ const char* const* args,
F&& f,
bool err,
bool ignore_exit,
@@ -132,7 +132,7 @@ namespace build2
run (diag_buffer& dbuf,
uint16_t verbosity,
const process_env& pe,
- const char* args[],
+ const char* const* args,
F&& f,
bool ignore_exit,
sha256* checksum)