summaryrefslogtreecommitdiff
path: root/src/completion.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/completion.hh')
-rw-r--r--src/completion.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/completion.hh b/src/completion.hh
index 70241f42..fc58d1c4 100644
--- a/src/completion.hh
+++ b/src/completion.hh
@@ -25,6 +25,9 @@ struct Completions
Completions(ByteCount start, ByteCount end)
: start(start), end(end) {}
+
+ Completions(ByteCount start, ByteCount end, CandidateList candidates)
+ : start(start), end(end), candidates(std::move(candidates)) {}
};
enum class CompletionFlags