aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-07-27 18:45:47 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-07-27 18:45:47 -0700
commit6e3231a9d705ee043cf827b22c807b0b96ea8893 (patch)
tree04cf44073d24084bf2e583ef808fe83caa6f0cf3 /src/parser.h
parent85dad6913e77d81730f3aea478695429f441ebd5 (diff)
Stop passing mutable references to completions around
Replace uses of vector<completion_t>& with vector<completion_t>* This makes it clear at the call site that the object may be mutated.
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index cef0fdb0..1afced17 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -314,7 +314,7 @@ public:
\param arg_src String to evaluate as an argument list
\param output List to insert output into
*/
- void expand_argument_list(const wcstring &arg_src, std::vector<completion_t> &output);
+ void expand_argument_list(const wcstring &arg_src, std::vector<completion_t> *output);
/**
Returns a string describing the current parser pisition in the format 'FILENAME (line LINE_NUMBER): LINE'.