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

Cut deducible template arg in DefaultKeepAliveExecutor init

Summary: [Folly] Cut deducible template arg in `DefaultKeepAliveExecutor` init - let it be deduced instead.

Reviewed By: andriigrynenko

Differential Revision: D14236171

fbshipit-source-id: 2de043efe541c13c59764715516b08d77efcb99b
parent bde0b49f
...@@ -143,8 +143,7 @@ class DefaultKeepAliveExecutor : public virtual Executor { ...@@ -143,8 +143,7 @@ class DefaultKeepAliveExecutor : public virtual Executor {
std::shared_ptr<ControlBlock> controlBlock_{std::make_shared<ControlBlock>()}; std::shared_ptr<ControlBlock> controlBlock_{std::make_shared<ControlBlock>()};
Baton<> keepAliveReleaseBaton_; Baton<> keepAliveReleaseBaton_;
KeepAlive<DefaultKeepAliveExecutor> keepAlive_{ KeepAlive<DefaultKeepAliveExecutor> keepAlive_{makeKeepAlive(this)};
makeKeepAlive<DefaultKeepAliveExecutor>(this)};
}; };
} // namespace folly } // namespace folly
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