From a1c1fefd6e10af3b7223ad669c6b3bc452f4ca3d Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Fri, 4 Nov 2022 11:49:54 +0100 Subject: [PATCH] Fix formatting, pass by value --- include/extractor/suffix_table.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/extractor/suffix_table.hpp b/include/extractor/suffix_table.hpp index 53eb1062b..cadfb5e2e 100644 --- a/include/extractor/suffix_table.hpp +++ b/include/extractor/suffix_table.hpp @@ -23,7 +23,7 @@ class SuffixTable final // check whether a string is part of the know suffix list bool isSuffix(const std::string &possible_suffix) const; - bool isSuffix(std::string_view& possible_suffix) const; + bool isSuffix(std::string_view possible_suffix) const; private: // Store lower-cased strings in SuffixTable and a set of StringViews for quick membership