From 282efae9c3d14ca2641e5fea223cb1be204feff1 Mon Sep 17 00:00:00 2001 From: Sergio Giro Date: Wed, 30 Sep 2015 15:28:30 +0100 Subject: system/core: remove methods returning SharedBuffer in String8, String16 Towards deprecation of SharedBuffer Change-Id: I3069837db32837bcc0f5d8f1118ccd502c9070dc --- libutils/String16.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libutils/String16.cpp') diff --git a/libutils/String16.cpp b/libutils/String16.cpp index 67be9d8fa..6a5273ff2 100644 --- a/libutils/String16.cpp +++ b/libutils/String16.cpp @@ -171,11 +171,6 @@ size_t String16::size() const return SharedBuffer::sizeFromData(mString)/sizeof(char16_t)-1; } -const SharedBuffer* String16::sharedBuffer() const -{ - return SharedBuffer::bufferFromData(mString); -} - void String16::setTo(const String16& other) { SharedBuffer::bufferFromData(other.mString)->acquire(); -- cgit v1.2.3