X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90b793eb07dc190eeb1144a1da079de760d17c36..f4333737c7e347efe9258ccf85c1237e03be619c:/projects/stargazer/traffcounter_impl.cpp diff --git a/projects/stargazer/traffcounter_impl.cpp b/projects/stargazer/traffcounter_impl.cpp index 9b0fd966..377e3889 100644 --- a/projects/stargazer/traffcounter_impl.cpp +++ b/projects/stargazer/traffcounter_impl.cpp @@ -106,7 +106,7 @@ while (users->SearchNext(h, &u) == 0) SetUserNotifiers(u); users->CloseSearch(h); -m_thread = std::jthread([this](auto token){ Run(token); }); +m_thread = std::jthread([this](auto token){ Run(std::move(token)); }); return 0; } //-----------------------------------------------------------------------------