File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ class string_view {
3131
3232 LIBC_INLINE static int compareMemory (const char *Lhs, const char *Rhs,
3333 size_t Length) {
34- for (size_t I = 0 ; I < Length; ++I )
35- if (int Diff = (int )Lhs[I ] - (int )Rhs[I ])
34+ for (size_t i = 0 ; i < Length; ++i )
35+ if (int Diff = (int )Lhs[i ] - (int )Rhs[i ])
3636 return Diff;
3737 return 0 ;
3838 }
Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ template <class T> struct in_place_type_t {
2727};
2828template <class T > LIBC_INLINE_VAR constexpr in_place_type_t <T> in_place_type{};
2929
30- template <size_t I > struct in_place_index_t {
30+ template <size_t IDX > struct in_place_index_t {
3131 LIBC_INLINE explicit in_place_index_t () = default;
3232};
33- template <size_t I >
34- LIBC_INLINE_VAR constexpr in_place_index_t <I > in_place_index{};
33+ template <size_t IDX >
34+ LIBC_INLINE_VAR constexpr in_place_index_t <IDX > in_place_index{};
3535
3636} // namespace cpp
3737} // namespace LIBC_NAMESPACE_DECL
You can’t perform that action at this time.
0 commit comments