Use ref in ComponentThread::joltThreadReq
This commit is contained in:
@@ -339,11 +339,7 @@ void Mind::joltAllMindThreadsReq(
|
||||
|
||||
for (auto& thread : componentThreads)
|
||||
{
|
||||
std::shared_ptr<PuppetThread> puppetThread =
|
||||
std::static_pointer_cast<PuppetThread>(thread);
|
||||
|
||||
thread->joltThreadReq(
|
||||
puppetThread,
|
||||
{request, std::bind(
|
||||
&MindThreadLifetimeMgmtOp::joltAllMindThreadsReq1,
|
||||
request.get(), request)});
|
||||
|
||||
Reference in New Issue
Block a user