Merge "Address const issues in preparation for libcxx rebase."
This commit is contained in:
@@ -126,7 +126,7 @@ public:
|
|||||||
|
|
||||||
void setName(const char* name) {
|
void setName(const char* name) {
|
||||||
if (name) {
|
if (name) {
|
||||||
char* lastPeriod = strrchr(name, '.');
|
const char* lastPeriod = strrchr(name, '.');
|
||||||
if (lastPeriod) {
|
if (lastPeriod) {
|
||||||
mName.setTo(lastPeriod + 1);
|
mName.setTo(lastPeriod + 1);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user