Skip to content

Commit

Permalink
Redundant declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Sep 26, 2023
1 parent 4ae5203 commit d97a15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion externals/simplecpp/simplecpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ namespace simplecpp {
bool isOneOf(const char ops[]) const;
bool startsWithOneOf(const char c[]) const;
bool endsWithOneOf(const char c[]) const;
static bool SIMPLECPP_LIB isNumberLike(const std::string& str) {
static bool isNumberLike(const std::string& str) {
return std::isdigit(static_cast<unsigned char>(str[0])) ||
(str.size() > 1U && (str[0] == '-' || str[0] == '+') && std::isdigit(static_cast<unsigned char>(str[1])));
}
Expand Down

0 comments on commit d97a15e

Please sign in to comment.