diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-08 19:39:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-08 19:39:32 +0300 |
commit | 571ff6e1401876cb775b827f6af25e14b1f59c6f (patch) | |
tree | 4cf36adcda2779a40f1f1f9a46b7a787f2834782 /src/utils/stringutils.h | |
parent | 15e87a84d62cc0b0077b25c235824879bde66a41 (diff) | |
download | plus-571ff6e1401876cb775b827f6af25e14b1f59c6f.tar.gz plus-571ff6e1401876cb775b827f6af25e14b1f59c6f.tar.bz2 plus-571ff6e1401876cb775b827f6af25e14b1f59c6f.tar.xz plus-571ff6e1401876cb775b827f6af25e14b1f59c6f.zip |
Improve string to int parsing.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r-- | src/utils/stringutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 5cf685a89..cf729c345 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -240,4 +240,6 @@ void secureChatCommand(std::string &str); bool parse2Int(const std::string &args, int &x, int &y); +int parseNumber(const std::string &str); + #endif // UTILS_STRINGUTILS_H |