From c39b94949be30dfbc1c3e271b37ca04cff303b16 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 6 Feb 2016 19:17:43 -0800 Subject: Complete to take a pointer to output completions, not a mutable ref --- src/complete.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/complete.h') diff --git a/src/complete.h b/src/complete.h index 0784bc48..999b3c2b 100644 --- a/src/complete.h +++ b/src/complete.h @@ -219,7 +219,7 @@ void complete_remove_all(const wcstring &cmd, bool cmd_is_path); /** Find all completions of the command cmd, insert them into out. */ void complete(const wcstring &cmd, - std::vector &comp, + std::vector *out_comps, completion_request_flags_t flags); /** -- cgit v1.2.3