summaryrefslogtreecommitdiff
path: root/src/insert_completer.cc
diff options
context:
space:
mode:
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=")
{