| 534 | #endif |
| 535 | |
| 536 | inline Timer::Timer (uint32_t interval, Callback&& cb) |
| 537 | { |
| 538 | CHOC_ASSERT (cb != nullptr); // The callback must be a valid function! |
| 539 | pimpl = std::make_unique<Pimpl> (std::move (cb), interval); |
| 540 | } |
| 541 | |
| 542 | template <typename Callback> |
| 543 | void setTimeout (uint32_t intervalMillisecs, Callback&& callback) |
nothing calls this directly
no outgoing calls
no test coverage detected