Fix formatting, pass by value
This commit is contained in:
parent
7359d6a21b
commit
a1c1fefd6e
@ -23,7 +23,7 @@ class SuffixTable final
|
|||||||
|
|
||||||
// check whether a string is part of the know suffix list
|
// check whether a string is part of the know suffix list
|
||||||
bool isSuffix(const std::string &possible_suffix) const;
|
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:
|
private:
|
||||||
// Store lower-cased strings in SuffixTable and a set of StringViews for quick membership
|
// Store lower-cased strings in SuffixTable and a set of StringViews for quick membership
|
||||||
|
Loading…
Reference in New Issue
Block a user