summaryrefslogtreecommitdiff
path: root/src/insert_completer.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-10-07 21:11:55 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-10-07 21:11:55 +0100
commit8a7e16cec379f3f52a30ab2ce35b515914cdfcb4 (patch)
tree21ffdc1a0c95e6699b2b8a6251d80bd8a7099e66 /src/insert_completer.cc
parenta627eab57c0c149e493d22673ba23f3e010c881c (diff)
Switch some const String& parameters to StringView
Diffstat (limited to 'src/insert_completer.cc')
-rw-r--r--src/insert_completer.cc2
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=")
{