diff options
author | William A. Kennington III <wak@google.com> | 2018-10-19 17:29:46 -0700 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2018-10-29 15:59:03 -0700 |
commit | 1cfc2f11b13412a15f8478cebc35e50e6feb13a2 (patch) | |
tree | 05986154355a3d6c0667368c12cf34d7ad97d4cd /event.hpp | |
parent | 5882e0c0593edaf464eea960f1ab7b2f5cd10240 (diff) | |
download | phosphor-fan-presence-1cfc2f11b13412a15f8478cebc35e50e6feb13a2.tar.gz phosphor-fan-presence-1cfc2f11b13412a15f8478cebc35e50e6feb13a2.zip |
Switch sd_event loops to sdeventplus
This change is mostly focused around plumbing the sdeventplus::Event
object everywhere and using the member functions provided for the event.
No migration to the timer utility is performed yet.
Change-Id: I912ab82bc081239d3b7c3cf7c5caca6742ef9c87
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'event.hpp')
-rw-r--r-- | event.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -23,19 +23,6 @@ struct EventSourceDeleter using EventSourcePtr = std::unique_ptr<sd_event_source, EventSourceDeleter>; -/** - * Customer deleter for sd_event - */ -struct EventDeleter -{ - void operator()(sd_event* event) const - { - sd_event_unref(event); - } -}; - -using EventPtr = std::unique_ptr<sd_event, EventDeleter>; - } } } |