summaryrefslogtreecommitdiff
path: root/libs/utils/String16.cpp
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2012-01-19 14:47:34 -0800
committer android code review <noreply-gerritcodereview@google.com> 2012-01-19 14:47:35 -0800
commit9d25b82d280c2d979d500e7da4447148f32f820b (patch)
treea3ce92223f977611f6a1ab6710901a68fad8a968 /libs/utils/String16.cpp
parent6df477be186233e36fc370c4d2db6c1ed928a740 (diff)
parentf68633da3ced654a9344b5c3b82f4d1c79b6bd09 (diff)
Merge "Rename LOG_ASSERT to ALOG_ASSERT"
Diffstat (limited to 'libs/utils/String16.cpp')
-rw-r--r--libs/utils/String16.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/utils/String16.cpp b/libs/utils/String16.cpp
index 4ce166426c11..94e072fce651 100644
--- a/libs/utils/String16.cpp
+++ b/libs/utils/String16.cpp
@@ -112,7 +112,7 @@ String16::String16(const char16_t* o)
{
size_t len = strlen16(o);
SharedBuffer* buf = SharedBuffer::alloc((len+1)*sizeof(char16_t));
- LOG_ASSERT(buf, "Unable to allocate shared buffer");
+ ALOG_ASSERT(buf, "Unable to allocate shared buffer");
if (buf) {
char16_t* str = (char16_t*)buf->data();
strcpy16(str, o);
@@ -126,7 +126,7 @@ String16::String16(const char16_t* o)
String16::String16(const char16_t* o, size_t len)
{
SharedBuffer* buf = SharedBuffer::alloc((len+1)*sizeof(char16_t));
- LOG_ASSERT(buf, "Unable to allocate shared buffer");
+ ALOG_ASSERT(buf, "Unable to allocate shared buffer");
if (buf) {
char16_t* str = (char16_t*)buf->data();
memcpy(str, o, len*sizeof(char16_t));