Use system_timer expires_after to fix build

This commit is contained in:
emeric
2025-02-10 17:23:43 +01:00
parent 6494d17f99
commit 32b366dda7
@@ -246,7 +246,7 @@ namespace lms::scanner
if (dateTime.isNull()) if (dateTime.isNull())
{ {
LMS_LOG(DBUPDATER, INFO, "Scheduling next scan right now"); LMS_LOG(DBUPDATER, INFO, "Scheduling next scan right now");
_scheduleTimer.expires_from_now(std::chrono::seconds{ 0 }); _scheduleTimer.expires_after(std::chrono::seconds{ 0 });
_scheduleTimer.async_wait(cb); _scheduleTimer.async_wait(cb);
} }
else else