fixing linux capturing

This commit is contained in:
Andy Pack 2025-01-27 18:53:56 +00:00
parent 7e641eaa67
commit 79d21bc3cb
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

@ -39,7 +39,7 @@ void FileContextCache::parse_all(ParseOperations operations) {
#if __APPLE__
std::for_each(file_contexts.begin(), file_contexts.end(), [this, &operations](std::shared_ptr<kc::FileContext> &context)
#else
std::for_each(std::execution::par_unseq, file_contexts.begin(), file_contexts.end(), [this](std::shared_ptr<kc::FileContext> &context)
std::for_each(std::execution::par_unseq, file_contexts.begin(), file_contexts.end(), [this, &operations](std::shared_ptr<kc::FileContext> &context)
#endif
{