Address const issues in preparation for libcxx rebase.
Change-Id: Ia9edf466ab4d1b6cc3f6c6ed86b333e6521c528d
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user