1
0
Fork 0

Add braces (#10460)

This commit is contained in:
Dronplane 2019-11-18 17:58:43 +03:00 committed by Andrey Abramov
parent c142e8bc21
commit bd1316b300
1 changed files with 1 additions and 1 deletions

View File

@ -1953,7 +1953,7 @@ arangodb::Result processPhraseArgs(
expectingOffset = false;
continue; // got offset let`s go search for value
} else if ( (arangodb::iresearch::SCOPED_VALUE_TYPE_STRING != currentValue.type() || !currentValue.getString(value)) || // value is not a string at all
expectingOffset && !allowDefaultOffset) { // offset is expected mandatory but got value
(expectingOffset && !allowDefaultOffset)) { // offset is expected mandatory but got value
std::string expectedValue;
if (expectingOffset && allowDefaultOffset) {
expectedValue = " as a value or offset";