feat add TimerPtr
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 1m57s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m10s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m35s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m52s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 3m2s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 5m46s

This commit is contained in:
tqcq 2024-05-01 07:57:01 +00:00
parent afd07e8012
commit 00e6e92041

View File

@ -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;