Merge "Address const issues in preparation for libcxx rebase."
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