aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-09 10:50:55 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-09 10:54:46 +0200
commit7c4501886d01bfc0c3681201e194cdddfad8595a (patch)
tree2ad788c820b1c1c4b3f724ed7add4de7a0a17210 /src/libutil/util.hh
parentf2b67fbf2ab7de68ee2e7c12ea090c8190e9546f (diff)
Use std::vector::data()
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 7d20351ee..6e20a22d9 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -295,7 +295,7 @@ MakeError(ExecError, Error)
/* Convert a list of strings to a null-terminated vector of char
*'s. The result must not be accessed beyond the lifetime of the
list of strings. */
-std::vector<const char *> stringsToCharPtrs(const Strings & ss);
+std::vector<char *> stringsToCharPtrs(const Strings & ss);
/* Close all file descriptors except stdin, stdout, stderr, and those
listed in the given set. Good practice in child processes. */