diff options
Diffstat (limited to 'common/config-file.cpp')
-rw-r--r-- | common/config-file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-file.cpp b/common/config-file.cpp index ea3feff8ae..1ebd9b5701 100644 --- a/common/config-file.cpp +++ b/common/config-file.cpp @@ -36,7 +36,7 @@ namespace Common { * underscores. In particular, white space and "#", "=", "[", "]" * are not valid! */ -bool ConfigFile::isValidName(const Common::String &name) { +bool ConfigFile::isValidName(const String &name) { const char *p = name.c_str(); while (*p && (isalnum(static_cast<unsigned char>(*p)) || *p == '-' || *p == '_' || *p == '.')) p++; |