summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibLine/SuggestionManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibLine/SuggestionManager.h')
-rw-r--r--Userland/Libraries/LibLine/SuggestionManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibLine/SuggestionManager.h b/Userland/Libraries/LibLine/SuggestionManager.h
index d9ef339e77..89fa9dafe0 100644
--- a/Userland/Libraries/LibLine/SuggestionManager.h
+++ b/Userland/Libraries/LibLine/SuggestionManager.h
@@ -36,12 +36,12 @@ public:
{
}
- CompletionSuggestion(const StringView& completion, const StringView& trailing_trivia)
+ CompletionSuggestion(StringView completion, StringView trailing_trivia)
: CompletionSuggestion(completion, trailing_trivia, {})
{
}
- CompletionSuggestion(const StringView& completion, const StringView& trailing_trivia, Style style);
+ CompletionSuggestion(StringView completion, StringView trailing_trivia, Style style);
bool operator==(const CompletionSuggestion& suggestion) const
{