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/dhcp_configuration.hpp b/src/dhcp_configuration.hpp
index c4a06a9..272959a 100644
--- a/src/dhcp_configuration.hpp
+++ b/src/dhcp_configuration.hpp
@@ -44,7 +44,7 @@
*/
Configuration(sdbusplus::bus::bus& bus, const std::string& objPath,
Manager& parent) :
- Iface(bus, objPath.c_str(), true),
+ Iface(bus, objPath.c_str(), Iface::action::defer_emit),
bus(bus), manager(parent)
{
ConfigIntf::dnsEnabled(getDHCPPropFromConf("UseDNS"));