summaryrefslogtreecommitdiff
path: root/libs/utils/String16.cpp
diff options
context:
space:
mode:
author Steve Block <steveblock@google.com> 2012-01-09 18:35:44 +0000
committer Jean-Baptiste Queru <jbq@google.com> 2012-01-19 14:45:08 -0800
commitf68633da3ced654a9344b5c3b82f4d1c79b6bd09 (patch)
treea3ce92223f977611f6a1ab6710901a68fad8a968 /libs/utils/String16.cpp
parentc6aacce37191e1cc79cfeba13b39899f59c68c3b (diff)
Rename LOG_ASSERT to ALOG_ASSERT
Change-Id: Ie2c7ea6560656d65bad791a61996174c75677517
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));