Commit 4780814a authored by Lee Howes's avatar Lee Howes Committed by Facebook Github Bot

Parameter order

Summary: Fix for function parameter order that shows up in opt build on later diff.

Reviewed By: andriigrynenko

Differential Revision: D6237125

fbshipit-source-id: fbb7be2c70b32203c658fc239cd74164e01fa1ca
parent 2e395f36
...@@ -523,7 +523,7 @@ SemiFuture<T>::defer(F&& func) && { ...@@ -523,7 +523,7 @@ SemiFuture<T>::defer(F&& func) && {
// case // case
auto sf = auto sf =
std::move(*this) std::move(*this)
.via(defKeepAlive.get()) .via(e)
// Then add the work, with a wrapper function that captures the // Then add the work, with a wrapper function that captures the
// keepAlive so the executor is destroyed at the right time. // keepAlive so the executor is destroyed at the right time.
.then( .then(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment