summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.h
diff options
context:
space:
mode:
author Dan Austin <danielaustin@google.com> 2016-03-28 21:40:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-03-28 21:41:00 +0000
commit64ade5dcfc1f7adabaa67bb5fdd97554380346b9 (patch)
tree68b76068b4739f06065704612d6b6c86c84b09a6 /libs/hwui/RenderNode.h
parentfaf2c42ac9658ba36b9dfda0803bed66a2fd1c90 (diff)
parent71831a630300cdeb1dcc28258f5edafedfc33fae (diff)
Merge "Address const issues in preparation for libcxx rebase."
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r--libs/hwui/RenderNode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h
index 025a4a416e4c..c1c394c740a7 100644
--- a/libs/hwui/RenderNode.h
+++ b/libs/hwui/RenderNode.h
@@ -126,7 +126,7 @@ public:
void setName(const char* name) {
if (name) {
- char* lastPeriod = strrchr(name, '.');
+ const char* lastPeriod = strrchr(name, '.');
if (lastPeriod) {
mName.setTo(lastPeriod + 1);
} else {