Use nothrow version of parseInt, parseUInt and parseLLInt

This commit is contained in:
Tatsuhiro Tsujikawa
2012-09-27 00:45:32 +09:00
parent a879d75aaa
commit 89f18dde85
8 changed files with 51 additions and 167 deletions

View File

@@ -28,9 +28,9 @@ void GZipEncoderTest::testEncode()
inputs.push_back("Hello World");
inputs.push_back("9223372036854775807");
inputs.push_back("Fox");
encoder << inputs[0];
encoder << util::parseLLInt(inputs[1]);
encoder << (int64_t)9223372036854775807LL;
encoder << inputs[2].c_str();
std::string gzippedData = encoder.str();