Commit 00e6e920 authored by tqcq's avatar tqcq
Browse files

feat add TimerPtr

parent afd07e80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ private:

class Timer {
public:
    using TimerPtr = std::unique_ptr<Timer, TimerThreadDeleter>;
    using Ptr= std::unique_ptr<Timer, TimerThreadDeleter>;

    using OnExpired                 = std::function<sled::optional<DurationMs>()>;
    Timer(const Timer &)            = delete;