Fix formatting, pass by value

This commit is contained in:
Dennis Luxen 2022-11-04 11:49:54 +01:00
parent 7359d6a21b
commit a1c1fefd6e

View File

@ -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