Revert "[clang-tidy] Simplify boolean expressions"

This reverts commit 51870dff34.
This commit is contained in:
Paul Beckingham
2020-12-05 16:18:15 -05:00
parent 623d5ceb59
commit 364b4ea8bd
8 changed files with 51 additions and 25 deletions

View File

@@ -1438,7 +1438,7 @@ int TDB2::id (const std::string& uuid)
bool TDB2::verifyUniqueUUID (const std::string& uuid)
{
pending.get_tasks ();
return pending.id (uuid) == 0;
return pending.id (uuid) != 0 ? false : true;
}
////////////////////////////////////////////////////////////////////////////////