From e824f985e7e32923d9f76e3ad5baf4909880739f Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Thu, 11 May 2017 10:07:55 -0500 Subject: Use unique_ptr for sd_event object wrapper Convert the sd_event object wrapper from a shared_ptr to a unique_ptr. Requires a new header file. Change-Id: I868a9e88ed93878c2e0bb12e58f8d3a604510da0 Signed-off-by: Matt Spinler --- monitor/fan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor/fan.cpp') diff --git a/monitor/fan.cpp b/monitor/fan.cpp index 639d88e..17f5812 100644 --- a/monitor/fan.cpp +++ b/monitor/fan.cpp @@ -38,7 +38,7 @@ constexpr auto OPERATIONAL_STATUS_INTF = Fan::Fan(sdbusplus::bus::bus& bus, - std::shared_ptr& events, + phosphor::fan::event::EventPtr& events, const FanDefinition& def) : _bus(bus), _name(std::get(def)), -- cgit v1.2.1