summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Giro2015-09-30 09:28:30 -0500
committerSergio Giro2015-09-30 09:42:02 -0500
commit282efae9c3d14ca2641e5fea223cb1be204feff1 (patch)
tree4c2dfa576e743d3cf7780c017ca9757a95a2e1a2 /libutils/String8.cpp
parentfca4821e05f1d4684185b559d177ffde6937bf61 (diff)
downloadplatform-system-core-282efae9c3d14ca2641e5fea223cb1be204feff1.tar.gz
platform-system-core-282efae9c3d14ca2641e5fea223cb1be204feff1.tar.xz
platform-system-core-282efae9c3d14ca2641e5fea223cb1be204feff1.zip
system/core: remove methods returning SharedBuffer in String8, String16
Towards deprecation of SharedBuffer Change-Id: I3069837db32837bcc0f5d8f1118ccd502c9070dc
Diffstat (limited to 'libutils/String8.cpp')
-rw-r--r--libutils/String8.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libutils/String8.cpp b/libutils/String8.cpp
index 5e8552049..81bfccf79 100644
--- a/libutils/String8.cpp
+++ b/libutils/String8.cpp
@@ -217,11 +217,6 @@ size_t String8::length() const
217 return SharedBuffer::sizeFromData(mString)-1; 217 return SharedBuffer::sizeFromData(mString)-1;
218} 218}
219 219
220const SharedBuffer* String8::sharedBuffer() const
221{
222 return SharedBuffer::bufferFromData(mString);
223}
224
225String8 String8::format(const char* fmt, ...) 220String8 String8::format(const char* fmt, ...)
226{ 221{
227 va_list args; 222 va_list args;