mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Refactor is_positive_num() to use C-strings
This makes the future move to C easier, as well as just shows that it's plain unnecessary to use an std::string here.
This commit is contained in:
@@ -24,7 +24,7 @@ bool next_split_s(
|
||||
|
||||
bool is_number(const char* str);
|
||||
|
||||
bool is_positive_num(const std::string& str, const bool hex);
|
||||
bool is_positive_num(const char* str, const bool hex);
|
||||
|
||||
bool endsWith(const std::string& str, const std::string& suffix);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user