Skip to content

Commit a61d446

Browse files
committed
Backporting from v3
2 parents 70ae43a + 0296b51 commit a61d446

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/inc/sys_string/impl/compare.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ namespace sysstr
6464
}
6565

6666
template<class Storage>
67-
auto sys_string_t<Storage>::compare_no_case(const sys_string_t<Storage> lhs, const sys_string_t<Storage> & rhs) noexcept -> compare_result
67+
auto sys_string_t<Storage>::compare_no_case(const sys_string_t<Storage> & lhs, const sys_string_t<Storage> & rhs) noexcept -> compare_result
6868
{
6969
utf32_view lhs_view(lhs);
7070
utf32_view rhs_view(rhs);

lib/inc/sys_string/sys_string.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ namespace sysstr
234234

235235
friend auto compare(const sys_string_t & lhs, const sys_string_t & rhs) noexcept -> compare_result
236236
{ return sys_string_t::compare(lhs, rhs); }
237-
friend auto compare_no_case(const sys_string_t lhs, const sys_string_t & rhs) noexcept -> compare_result
237+
friend auto compare_no_case(const sys_string_t & lhs, const sys_string_t & rhs) noexcept -> compare_result
238238
{ return sys_string_t::compare_no_case(lhs, rhs); }
239239

240240
template<class StringOrChar1, class StringOrChar2>
@@ -313,7 +313,7 @@ namespace sysstr
313313

314314
private:
315315
static auto compare(const sys_string_t & lhs, const sys_string_t & rhs) noexcept -> compare_result;
316-
static auto compare_no_case(const sys_string_t lhs, const sys_string_t & rhs) noexcept -> compare_result;
316+
static auto compare_no_case(const sys_string_t & lhs, const sys_string_t & rhs) noexcept -> compare_result;
317317

318318
};
319319

0 commit comments

Comments
 (0)