summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-27 00:45:32 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-27 00:45:32 +0900
commit89f18dde856894eef23dde77a9257655725ba843 (patch)
tree73d5ea34e16655e524fd00b807d03450953061b6 /src/util.h
parenta879d75aaacce6c838b20c3c961b38182a1179b2 (diff)
Use nothrow version of parseInt, parseUInt and parseLLInt
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index d8abc39d..f7f6009d 100644
--- a/src/util.h
+++ b/src/util.h
@@ -262,14 +262,11 @@ bool isPowerOf(int num, int base);
std::string secfmt(time_t sec);
bool parseIntNoThrow(int32_t& res, const std::string& s, int base = 10);
-int32_t parseInt(const std::string& s, int base = 10);
// Valid range: [0, INT32_MAX]
bool parseUIntNoThrow(uint32_t& res, const std::string& s, int base = 10);
-uint32_t parseUInt(const std::string& s, int base = 10);
bool parseLLIntNoThrow(int64_t& res, const std::string& s, int base = 10);
-int64_t parseLLInt(const std::string& s, int base = 10);
void parseIntSegments(SegList<int>& sgl, const std::string& src);