diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-04-18 14:02:14 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-04-18 14:02:14 +0100 |
| commit | adde2fef75b12bb9ce536341b87729ab2fc610fe (patch) | |
| tree | 764dc9d71114d031b6a693b7cc277dd09d6c3e7f /src/function_registry.hh | |
| parent | af2d82dfc17ccd0c32b0955b1588e3bca379ccab (diff) | |
Use StringView for completion functions
Diffstat (limited to 'src/function_registry.hh')
| -rw-r--r-- | src/function_registry.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/function_registry.hh b/src/function_registry.hh index d62f9ae8..2dbf1f02 100644 --- a/src/function_registry.hh +++ b/src/function_registry.hh @@ -32,7 +32,7 @@ public: return it->second; } - CandidateList complete_name(const String& prefix, ByteCount cursor_pos) + CandidateList complete_name(StringView prefix, ByteCount cursor_pos) { return m_functions.complete_id(prefix, cursor_pos); } |
