Skip to content

Commit 9c9850f

Browse files
committed
fix: ci_equal arguments by const reference
1 parent 5bc52ed commit 9c9850f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/url/grammar/ci_string.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ struct ci_equal
295295
class String0, class String1>
296296
bool
297297
operator()(
298-
String0 s0,
299-
String1 s1) const noexcept
298+
String0 const& s0,
299+
String1 const& s1) const noexcept
300300
{
301301
return ci_is_equal(s0, s1);
302302
}

0 commit comments

Comments
 (0)