indentation

This commit is contained in:
aleks-f 2013-02-20 17:08:44 -06:00
parent 6943505634
commit 66a56a944f
3 changed files with 10 additions and 10 deletions

View File

@ -583,7 +583,7 @@ bool Parser::readRow(bool firstCall)
token = nextToken(); token = nextToken();
if ( token->is(Token::SEPARATOR_TOKEN) if (token->is(Token::SEPARATOR_TOKEN)
&& token->asChar() == ':') && token->asChar() == ':')
{ {
readValue(nextToken()); readValue(nextToken());
@ -638,7 +638,7 @@ void Parser::readValue(const Token* token)
#if defined(POCO_HAVE_INT64) #if defined(POCO_HAVE_INT64)
Int64 value = token->asInteger64(); Int64 value = token->asInteger64();
// if number is 32-bit, then handle as such // 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()) || value < std::numeric_limits<int>::min())
{ {
_handler->value(value); _handler->value(value);

View File

@ -122,7 +122,7 @@ Var Query::find(const std::string& path) const
} }
} }
if ( !result.isEmpty() if (!result.isEmpty()
&& !indexes.empty() ) && !indexes.empty() )
{ {
for(std::vector<int>::iterator it = indexes.begin(); it != indexes.end(); ++it ) for(std::vector<int>::iterator it = indexes.begin(); it != indexes.end(); ++it )