mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-20 09:08:29 +01:00
fix for pre-C++11 compilers
This commit is contained in:
parent
15f034cbbd
commit
f315dc603e
@ -93,7 +93,9 @@ void NumberParserTest::testParse()
|
||||
assert(NumberParser::parse64("-123") == -123);
|
||||
assert(NumberParser::parse64("0123") == 123);
|
||||
assert(NumberParser::parse64("-0123") == -123);
|
||||
#if defined(POCO_ENABLE_CPP11)
|
||||
assert(NumberParser::parse64("123456789123456789") == UINT64_C(123456789123456789));
|
||||
#endif
|
||||
assert(NumberParser::parseUnsigned64("123") == 123);
|
||||
assert(NumberParser::parseHex64("12AB") == 0x12ab);
|
||||
assert(NumberParser::parseOct64("123") == 0123);
|
||||
|
Loading…
x
Reference in New Issue
Block a user