From 7b98c0725eec2a09bf65ee1e78839fc2c4a3da03 Mon Sep 17 00:00:00 2001 From: Vernon Mauery Date: Thu, 1 Nov 2018 15:52:26 -0700 Subject: netipmid: move to sdbusplus::asio from sdbusplus To be able to support asynchronous dbus calls, the main bus object should be an sdbusplus::asio::connection. Change-Id: Ib7d3474eb32505d2326f0d6db9566528a58ccd03 Signed-off-by: Vernon Mauery --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 04f3d44..27661c1 100644 --- a/main.cpp +++ b/main.cpp @@ -36,7 +36,7 @@ std::tuple sdbusp; +std::shared_ptr sdbusp; /* * @brief Required by apphandler IPMI Provider Library @@ -49,7 +49,7 @@ sd_bus* ipmid_get_sd_bus_connection() /* * @brief mechanism to get at sdbusplus object */ -std::shared_ptr getSdBus() +std::shared_ptr getSdBus() { return sdbusp; } -- cgit v1.2.1