We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f44b77 commit dbae338Copy full SHA for dbae338
1 file changed
simplecpp.h
@@ -135,7 +135,7 @@ namespace simplecpp {
135
bool isOneOf(const char ops[]) const;
136
bool startsWithOneOf(const char c[]) const;
137
bool endsWithOneOf(const char c[]) const;
138
- static bool SIMPLECPP_LIB isNumberLike(const std::string& str) {
+ static bool isNumberLike(const std::string& str) {
139
return std::isdigit(static_cast<unsigned char>(str[0])) ||
140
(str.size() > 1U && (str[0] == '-' || str[0] == '+') && std::isdigit(static_cast<unsigned char>(str[1])));
141
}
0 commit comments