aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/complete.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-06 19:17:43 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-18 17:00:26 -0800
commitc39b94949be30dfbc1c3e271b37ca04cff303b16 (patch)
tree09f608eae67bfacc5412d4fc3f73cd36a12c7996 /src/complete.h
parent31bc88d16f7396865bbf2c7ae5d3afc80b44e254 (diff)
Complete to take a pointer to output completions, not a mutable ref
Diffstat (limited to 'src/complete.h')
-rw-r--r--src/complete.h2
1 files changed, 1 insertions, 1 deletions
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<completion_t> &comp,
+ std::vector<completion_t> *out_comps,
completion_request_flags_t flags);
/**