diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-10-07 21:11:55 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-10-07 21:11:55 +0100 |
| commit | 8a7e16cec379f3f52a30ab2ce35b515914cdfcb4 (patch) | |
| tree | 21ffdc1a0c95e6699b2b8a6251d80bd8a7099e66 /src/insert_completer.cc | |
| parent | a627eab57c0c149e493d22673ba23f3e010c881c (diff) | |
Switch some const String& parameters to StringView
Diffstat (limited to 'src/insert_completer.cc')
| -rw-r--r-- | src/insert_completer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert_completer.cc b/src/insert_completer.cc index b5be9c95..1e50d189 100644 --- a/src/insert_completer.cc +++ b/src/insert_completer.cc @@ -31,7 +31,7 @@ String option_to_string(const InsertCompleterDesc& opt) return ""; } -void option_from_string(const String& str, InsertCompleterDesc& opt) +void option_from_string(StringView str, InsertCompleterDesc& opt) { if (str.substr(0_byte, 7_byte) == "option=") { |
