mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
remove const& from std::string_view
This commit is contained in:
parent
a862973f14
commit
e14675935a
@ -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 +
|
* a. hilite_keyword foo hilite_none hilite_operator +
|
||||||
* b. hilite_keyword foo 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))
|
if (!are_equal_with_hilites_removed(left, right))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user