From 7c4501886d01bfc0c3681201e194cdddfad8595a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 9 Jun 2015 10:50:55 +0200 Subject: Use std::vector::data() --- src/libutil/util.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libutil/util.hh') diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 7d20351eec2e..6e20a22d9da8 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 stringsToCharPtrs(const Strings & ss); +std::vector stringsToCharPtrs(const Strings & ss); /* Close all file descriptors except stdin, stdout, stderr, and those listed in the given set. Good practice in child processes. */ -- cgit 1.4.1