bmc: firmware handler owns update mechanism
The firmware handler owns the update mechanism object. The update
mechanism is currently unused.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I5051ee6597f66de941ad7c1f209f6cb7e3d5a835
diff --git a/main.cpp b/main.cpp
index 7e9b5a3..36b4ee7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -115,7 +115,8 @@
ipmi_flash::supportedFirmware, ipmi_flash::supportedTransports,
ipmi_flash::SystemdVerification::CreateVerification(
sdbusplus::bus::new_default(), VERIFY_STATUS_FILENAME,
- VERIFY_DBUS_SERVICE));
+ VERIFY_DBUS_SERVICE),
+ std::move(updater));
if (!handler)
{