Small code tweak

This commit is contained in:
Maxime Coste 2016-03-24 22:15:11 +00:00
parent 50a64a0544
commit 7b52b00b94

View File

@ -43,7 +43,7 @@ using Completer = std::function<Completions (const Context&, CompletionFlags,
inline Completions complete_nothing(const Context& context, CompletionFlags,
StringView, ByteCount cursor_pos)
{
return Completions(cursor_pos, cursor_pos);
return {cursor_pos, cursor_pos};
}
Completions shell_complete(const Context& context, CompletionFlags,