1
0
Fork 0

Silenced parentheses warning

This commit is contained in:
Michael Hackstein 2016-02-15 10:53:35 +01:00
parent 835e077836
commit 2c6c31004c
1 changed files with 1 additions and 1 deletions

View File

@ -1131,7 +1131,7 @@ static void UnsetOrKeep(VPackSlice const& value,
for (auto const& entry : VPackObjectIterator(value)) {
TRI_ASSERT(entry.key.isString());
std::string key = entry.key.copyString();
if (!(names.find(key) == names.end() ^ unset)) {
if (!((names.find(key) == names.end()) ^ unset)) {
// not found and unset or found and keep
if (recursive && entry.value.isObject()) {
result.add(entry.key); // Add the key