clang-tidy: Enable readability-simplify-boolean-expr check
This checks for boolean expressions involving boolean constants
and simplifies them to use the appropriate boolean expression
directly.
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: If2316dc52cbd280971f0333ee805b11e1b99d27f
diff --git a/manager/serialize.cpp b/manager/serialize.cpp
index 64bcadf..e11bb95 100644
--- a/manager/serialize.cpp
+++ b/manager/serialize.cpp
@@ -32,7 +32,7 @@
// If the name of asserted group exist in the archive and the Asserted
// property is false, entry is removed from the archive.
auto iter = savedGroups.find(group);
- if (iter != savedGroups.end() && asserted == false)
+ if (iter != savedGroups.end() && !asserted)
{
savedGroups.erase(iter);
}