summaryrefslogtreecommitdiff
path: root/src/utils/string.hpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-11-05 16:51:44 +0000
committerDavid Athay <ko2fan@gmail.com>2008-11-05 16:51:44 +0000
commit8d6fdc09e7427f0f024c76d73d9915014e97cce9 (patch)
tree54482ccb10a1ee002919c9c5de67bf8108607516 /src/utils/string.hpp
parent8de368c1456d997d61c4730f2fe12624dfcf1974 (diff)
downloadmanaserv-8d6fdc09e7427f0f024c76d73d9915014e97cce9.tar.gz
manaserv-8d6fdc09e7427f0f024c76d73d9915014e97cce9.tar.bz2
manaserv-8d6fdc09e7427f0f024c76d73d9915014e97cce9.tar.xz
manaserv-8d6fdc09e7427f0f024c76d73d9915014e97cce9.zip
Use a string util for converting strings to
integers, as per Bjorns suggestion.
Diffstat (limited to 'src/utils/string.hpp')
-rw-r--r--src/utils/string.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/string.hpp b/src/utils/string.hpp
index 2adf31b6..678671d2 100644
--- a/src/utils/string.hpp
+++ b/src/utils/string.hpp
@@ -28,6 +28,7 @@ namespace utils
{
std::string toupper(std::string);
bool isNumeric(const std::string &);
+ int stringToInt(const std::string &);
}
#endif // UTILS_STRING_HPP