diff options
Diffstat (limited to 'cmdline/cmdline_parser.h')
-rw-r--r-- | cmdline/cmdline_parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/cmdline_parser.h b/cmdline/cmdline_parser.h index cfc096728f..d82fd488e9 100644 --- a/cmdline/cmdline_parser.h +++ b/cmdline/cmdline_parser.h @@ -390,7 +390,7 @@ struct CmdlineParser { // Unlike regular argument definitions, when a value gets parsed into its // stronger type, we just throw it away. - if (ign.find("_") != std::string::npos) { // Does the arg-def have a wildcard? + if (ign.find('_') != std::string::npos) { // Does the arg-def have a wildcard? // pretend this is a string, e.g. -Xjitconfig:<anythinggoeshere> auto&& builder = Define(ignore_name).template WithType<std::string>().IntoIgnore(); assert(&builder == this); |