Skip to content

Commit

Permalink
Fix build issue shadow-field-in-constructor
Browse files Browse the repository at this point in the history
Summary: Fix build issue shadow-field-in-constructor

Reviewed By: marcinpe

Differential Revision: D48070683

fbshipit-source-id: b1b5dc49a4f860e431a9e8fa57d09ce1151ce3a0
  • Loading branch information
srivatsan-ramesh authored and facebook-github-bot committed Aug 4, 2023
1 parent 2a99751 commit f8e3e00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions thrift/lib/cpp2/async/Interaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ struct InteractionTask {
std::shared_ptr<folly::RequestContext> context;

explicit InteractionTask(
std::unique_ptr<concurrency::Runnable>&& task,
concurrency::ThreadManager::ExecutionScope scope)
: task(std::move(task)),
scope(scope),
std::unique_ptr<concurrency::Runnable>&& t,
concurrency::ThreadManager::ExecutionScope sc)
: task(std::move(t)),
scope(sc),
context(folly::RequestContext::saveContext()) {}
};

Expand Down

0 comments on commit f8e3e00

Please sign in to comment.