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/ipaddress.cpp b/src/ipaddress.cpp
index f30cf34..0af0756 100644
--- a/src/ipaddress.cpp
+++ b/src/ipaddress.cpp
@@ -22,7 +22,7 @@
EthernetInterface& parent, IP::Protocol type,
const std::string& ipaddress, IP::AddressOrigin origin,
uint8_t prefixLength, const std::string& gateway) :
- IPIfaces(bus, objPath, true),
+ IPIfaces(bus, objPath, IPIfaces::action::defer_emit),
parent(parent)
{