mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
indentation
This commit is contained in:
parent
6943505634
commit
66a56a944f
@ -583,7 +583,7 @@ bool Parser::readRow(bool firstCall)
|
||||
|
||||
token = nextToken();
|
||||
|
||||
if ( token->is(Token::SEPARATOR_TOKEN)
|
||||
if (token->is(Token::SEPARATOR_TOKEN)
|
||||
&& token->asChar() == ':')
|
||||
{
|
||||
readValue(nextToken());
|
||||
@ -638,7 +638,7 @@ void Parser::readValue(const Token* token)
|
||||
#if defined(POCO_HAVE_INT64)
|
||||
Int64 value = token->asInteger64();
|
||||
// if number is 32-bit, then handle as such
|
||||
if ( value > std::numeric_limits<int>::max()
|
||||
if (value > std::numeric_limits<int>::max()
|
||||
|| value < std::numeric_limits<int>::min())
|
||||
{
|
||||
_handler->value(value);
|
||||
|
@ -122,7 +122,7 @@ Var Query::find(const std::string& path) const
|
||||
}
|
||||
}
|
||||
|
||||
if ( !result.isEmpty()
|
||||
if (!result.isEmpty()
|
||||
&& !indexes.empty() )
|
||||
{
|
||||
for(std::vector<int>::iterator it = indexes.begin(); it != indexes.end(); ++it )
|
||||
|
Loading…
x
Reference in New Issue
Block a user