Address const issues in preparation for libcxx rebase.

Change-Id: Ia9edf466ab4d1b6cc3f6c6ed86b333e6521c528d
This commit is contained in:
Dan Austin
2016-03-24 12:03:42 -07:00
parent 72dd79fa41
commit 71831a6303

View File

@@ -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 {