From 8fd879fb7bb9ed34fe69581dc714b4158046519f Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 30 Oct 2018 19:49:29 -0700 Subject: Remove timer in favor of sdeventplus/utility/timer This removes the custom timer implementation and moves to the sdeventplus utility. Functionally this should make no change Tested: Built and run through the unit test suite. Change-Id: Ib7ee90d489d5db72496aaaca91c3cf5490ad47d6 Signed-off-by: William A. Kennington III --- event.hpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 event.hpp (limited to 'event.hpp') diff --git a/event.hpp b/event.hpp deleted file mode 100644 index a937d6d..0000000 --- a/event.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -#include -#include - -namespace phosphor -{ -namespace fan -{ -namespace event -{ - -/** - * Custom deleter for sd_event_source - */ -struct EventSourceDeleter -{ - void operator()(sd_event_source* eventSource) const - { - sd_event_source_unref(eventSource); - } -}; - -using EventSourcePtr = std::unique_ptr; - -} -} -} -- cgit v1.2.1