Commit 3d910b30 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Update some outdated fields in Futures Core test

Summary: [Folly] Update some outdated fields in Futures Core test - the callback type and the interrupt lock type have been changed.

Reviewed By: Orvid

Differential Revision: D8084531

fbshipit-source-id: 3991360052c9309b531b7be64ef8e92d5ce6200c
parent 57b57616
......@@ -25,12 +25,12 @@ TEST(Core, size) {
struct Gold {
typename std::aligned_storage<lambdaBufSize>::type lambdaBuf_;
folly::Optional<Try<Unit>> result_;
std::function<void(Try<Unit>&&)> callback_;
folly::Function<void(Try<Unit>&&)> callback_;
futures::detail::FSM<futures::detail::State, futures::detail::SpinLock>
fsm_;
std::atomic<unsigned char> attached_;
std::atomic<bool> interruptHandlerSet_;
folly::MicroSpinLock interruptLock_;
futures::detail::SpinLock interruptLock_;
int8_t priority_;
Executor* executor_;
std::shared_ptr<RequestContext> context_;
......
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