commit | 26f6976f3905d7b20690bbf794fba746c1929ed3 | [log] [tgz] |
---|---|---|
author | Ed Tanous <edtanous@google.com> | Tue Jan 25 09:49:11 2022 -0800 |
committer | Ed Tanous <ed@tanous.net> | Fri Jan 28 19:43:59 2022 +0000 |
tree | 7cfaea46d4e70ea7b46275195f7d7024cb999dac | |
parent | bb05f2227d53d590534d1df6e6a622e13cea76ae [diff] [blame] |
Enable readability-container-size-empty tests This one is a little trivial, but it does help in readability. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I5366d4eec8af2f781b3bad804131ae2eb806e3aa
diff --git a/redfish-core/lib/update_service.hpp b/redfish-core/lib/update_service.hpp index f820e61..3137ab3 100644 --- a/redfish-core/lib/update_service.hpp +++ b/redfish-core/lib/update_service.hpp
@@ -824,7 +824,7 @@ continue; } - if (obj.second.size() < 1) + if (obj.second.empty()) { continue; }