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`.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4137ab812650afc09073d7b110254de87d5e5710
diff --git a/bmc-vmi-ca/ca_cert_entry.hpp b/bmc-vmi-ca/ca_cert_entry.hpp
index 1b75fa4..a461632 100644
--- a/bmc-vmi-ca/ca_cert_entry.hpp
+++ b/bmc-vmi-ca/ca_cert_entry.hpp
@@ -48,7 +48,8 @@
Entry(sdbusplus::bus::bus& bus, const std::string& objPath,
uint32_t entryId, std::string& csr, std::string& cert,
CACertMgr& manager) :
- internal::EntryInterface(bus, objPath.c_str(), true),
+ internal::EntryInterface(bus, objPath.c_str(),
+ internal::EntryInterface::action::defer_emit),
bus(bus), id(entryId), manager(manager)
{