Loading include/utils/String16.h +1 −3 Original line number Diff line number Diff line Loading @@ -205,9 +205,7 @@ inline bool String16::operator<=(const String16& other) const inline bool String16::operator==(const String16& other) const { const size_t n1 = size(); const size_t n2 = other.size(); return n1 == n2 && strzcmp16(mString, n1, other.mString, n2) == 0; return strzcmp16(mString, size(), other.mString, other.size()) == 0; } inline bool String16::operator!=(const String16& other) const Loading include/utils/String8.h +1 −3 Original line number Diff line number Diff line Loading @@ -418,9 +418,7 @@ inline bool String8::operator<=(const String8& other) const inline bool String8::operator==(const String8& other) const { return (SharedBuffer::sizeFromData(mString) == SharedBuffer::sizeFromData(other.mString)) && strcmp(mString, other.mString) == 0; return strcmp(mString, other.mString) == 0; } inline bool String8::operator!=(const String8& other) const Loading Loading
include/utils/String16.h +1 −3 Original line number Diff line number Diff line Loading @@ -205,9 +205,7 @@ inline bool String16::operator<=(const String16& other) const inline bool String16::operator==(const String16& other) const { const size_t n1 = size(); const size_t n2 = other.size(); return n1 == n2 && strzcmp16(mString, n1, other.mString, n2) == 0; return strzcmp16(mString, size(), other.mString, other.size()) == 0; } inline bool String16::operator!=(const String16& other) const Loading
include/utils/String8.h +1 −3 Original line number Diff line number Diff line Loading @@ -418,9 +418,7 @@ inline bool String8::operator<=(const String8& other) const inline bool String8::operator==(const String8& other) const { return (SharedBuffer::sizeFromData(mString) == SharedBuffer::sizeFromData(other.mString)) && strcmp(mString, other.mString) == 0; return strcmp(mString, other.mString) == 0; } inline bool String8::operator!=(const String8& other) const Loading