forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When defining string constants, we typically want both the string data and the variable referring to the string data to be immutable, which is commonly done by declaring the string constant variables as either `const char[]` or `const char* const`. Declaring a string constant variable as `const char*` still allows it to point to a different immutable string. This CL changes a few string constant declarations from `const char*` to `const char[]`. BUG=None TEST=chromeos_unittests Review-Url: https://codereview.chromium.org/2286073002 Cr-Commit-Position: refs/heads/master@{#415015}
- Loading branch information
Showing
3 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters