summaryrefslogtreecommitdiff
path: root/src/file.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-11-28 13:59:55 +0000
committerMaxime Coste <frrrwww@gmail.com>2016-11-28 13:59:55 +0000
commit2f3a7112eafe7bfa6ddd9c6b8a3e6d11a44ce49d (patch)
treec3adad7f5e58664311e26f74b71b7a7ca96a66a0 /src/file.cc
parent54d540021cd50dc78e58a127e4770dc7b26e161f (diff)
Add more memory domains to certain data
Diffstat (limited to 'src/file.cc')
-rw-r--r--src/file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cc b/src/file.cc
index 9620467a..92ddcf13 100644
--- a/src/file.cc
+++ b/src/file.cc
@@ -421,7 +421,7 @@ CandidateList complete_filename(StringView prefix, const Regex& ignored_regex,
return candidates(matches, expand ? parsed_dirname : dirname);
}
-Vector<String> complete_command(StringView prefix, ByteCount cursor_pos)
+CandidateList complete_command(StringView prefix, ByteCount cursor_pos)
{
String real_prefix = parse_filename(prefix.substr(0, cursor_pos));
StringView dirname, fileprefix;