X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90b793eb07dc190eeb1144a1da079de760d17c36..f4333737c7e347efe9258ccf85c1237e03be619c:/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp diff --git a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp index 0896bb85..4666575c 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp @@ -102,7 +102,7 @@ int STG_CONFIG::Start() return -1; } - m_thread = std::jthread([this](auto token){ Run(token); }); + m_thread = std::jthread([this](auto token){ Run(std::move(token)); }); return 0; }