summaryrefslogtreecommitdiff
path: root/include/dbus_monitor.hpp
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-01-25 20:49:11 +0300
committerEd Tanous <ed@tanous.net>2022-01-28 22:43:59 +0300
commit26f6976f3905d7b20690bbf794fba746c1929ed3 (patch)
tree7cfaea46d4e70ea7b46275195f7d7024cb999dac /include/dbus_monitor.hpp
parentbb05f2227d53d590534d1df6e6a622e13cea76ae (diff)
downloadbmcweb-26f6976f3905d7b20690bbf794fba746c1929ed3.tar.xz
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
Diffstat (limited to 'include/dbus_monitor.hpp')
-rw-r--r--include/dbus_monitor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dbus_monitor.hpp b/include/dbus_monitor.hpp
index c8e46b79c9..9bc79ad962 100644
--- a/include/dbus_monitor.hpp
+++ b/include/dbus_monitor.hpp
@@ -200,7 +200,7 @@ inline void requestRoutes(App& app)
"member='PropertiesChanged'");
// If interfaces weren't specified, add a single match for all
// interfaces
- if (thisSession.interfaces.size() == 0)
+ if (thisSession.interfaces.empty())
{
BMCWEB_LOG_DEBUG << "Creating match "
<< propertiesMatchString;