Merge "Drop String::empty()" into main am: 47fc3df9a0
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2707114 Change-Id: If551ac01d8dcfc5862888b561f3a99a01c1f6540 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
68c2432f77
1 changed files with 0 additions and 6 deletions
|
@ -52,8 +52,6 @@ public:
|
|||
explicit String8(const char32_t* o, size_t numChars);
|
||||
~String8();
|
||||
|
||||
static inline const String8 empty();
|
||||
|
||||
static String8 format(const char* fmt, ...) __attribute__((format (printf, 1, 2)));
|
||||
static String8 formatV(const char* fmt, va_list args);
|
||||
|
||||
|
@ -240,10 +238,6 @@ inline int strictly_order_type(const String8& lhs, const String8& rhs)
|
|||
return compare_type(lhs, rhs) < 0;
|
||||
}
|
||||
|
||||
inline const String8 String8::empty() {
|
||||
return String8();
|
||||
}
|
||||
|
||||
inline const char* String8::c_str() const
|
||||
{
|
||||
return mString;
|
||||
|
|
Loading…
Reference in a new issue