summaryrefslogtreecommitdiffstats
path: root/sensorhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sensorhandler.cpp')
-rw-r--r--sensorhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index 95d8ad0..892511a 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -410,7 +410,7 @@ ipmi_ret_t setSensorReading(void *request)
}
objects.emplace(iter->second.sensorPath, std::move(interfaces));
- sdbusplus::bus::bus bus{sd_bus_ref(ipmid_get_sd_bus_connection())};
+ sdbusplus::bus::bus bus{ipmid_get_sd_bus_connection()};
using namespace std::string_literals;
static const auto intf = "xyz.openbmc_project.Inventory.Manager"s;
static const auto path = "/xyz/openbmc_project/inventory"s;
OpenPOWER on IntegriCloud