summaryrefslogtreecommitdiff
path: root/libutils/String16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libutils/String16.cpp')
-rw-r--r--libutils/String16.cpp5
1 files changed, 0 insertions, 5 deletions
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();