Commit 01da43c2 authored by Matthieu Martin's avatar Matthieu Martin Committed by Facebook GitHub Bot

Strictify async_inner_type

Summary: Only accept Async input now

Reviewed By: yfeldblum

Differential Revision: D22268635

fbshipit-source-id: cd974af7a7a3adc25b3c90029efe4c6080c3739a
parent 0ff36eaf
......@@ -151,9 +151,7 @@ constexpr bool is_async_v = folly::detail::is_instantiation_of_v<Async, T>;
// async_inner_type
template <typename T>
struct async_inner_type {
using type = T;
};
struct async_inner_type;
template <typename T>
struct async_inner_type<Async<T>> {
......
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