remove const& from std::string_view

This commit is contained in:
natasha 2023-03-28 11:29:16 +01:00
parent a862973f14
commit e14675935a

View File

@ -102,7 +102,7 @@ bool are_equal_with_hilites_removed(std::string_view left, std::string_view righ
* a. hilite_keyword foo hilite_none hilite_operator +
* b. hilite_keyword foo hilite_operator +
*/
bool are_equal_with_hilites(const std::string_view & left, std::string_view right)
bool are_equal_with_hilites(std::string_view left, std::string_view right)
{
if (!are_equal_with_hilites_removed(left, right))
return false;