summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.h
diff options
context:
space:
mode:
author Dan Austin <danielaustin@google.com> 2016-03-24 12:03:42 -0700
committer Dan Austin <danielaustin@google.com> 2016-03-28 13:33:11 -0700
commit71831a630300cdeb1dcc28258f5edafedfc33fae (patch)
tree075c7f5e3091925a98ad375a2c7f68903addbb62 /libs/hwui/RenderNode.h
parent72dd79fa41fad71a14bb82eb830c927299d92d02 (diff)
Address const issues in preparation for libcxx rebase.
Change-Id: Ia9edf466ab4d1b6cc3f6c6ed86b333e6521c528d
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 {