sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for
signal action, but maintained a backwards compatible boolean mapping.
It is time to remove this boolean to make it more observable which
actions are being used in applications. Map all `true` occurrences to
`action::defer_emit`.
Change-Id: I2e7ce5e279d65d101e1249f2b41f126143d3f03d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/network_manager.cpp b/src/network_manager.cpp
index a9ff7cc..b2ca45d 100644
--- a/src/network_manager.cpp
+++ b/src/network_manager.cpp
@@ -41,7 +41,8 @@
Manager::Manager(sdbusplus::bus::bus& bus, const char* objPath,
const std::string& path) :
- details::VLANCreateIface(bus, objPath, true),
+ details::VLANCreateIface(bus, objPath,
+ details::VLANCreateIface::action::defer_emit),
bus(bus), objectPath(objPath)
{
fs::path confDir(path);