]> git.stg.codes - stg.git/blobdiff - projects/stargazer/traffcounter_impl.cpp
Fix Boost package name.
[stg.git] / projects / stargazer / traffcounter_impl.cpp
index 9b0fd966d9a2732e456b60f176c8200e5bed6ccb..377e388902fd26cb493ee241ff54119d57efbe16 100644 (file)
@@ -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;
 }
 //-----------------------------------------------------------------------------