Commit 5e2a41e9 authored by Eric Niebler's avatar Eric Niebler Committed by Facebook GitHub Bot

use folly::void_t instead of std::void_t

Summary: folly/Traits.h defines a `void_t` alias in the `folly::` namespace. Just use that instead of specifying the one in `std::`.

Reviewed By: ispeters

Differential Revision: D25483712

fbshipit-source-id: 6be0435dfec600690cc90bc15fd3d2af17826173
parent c5d7abd5
......@@ -206,7 +206,7 @@ constexpr bool promiseHasAsyncFrame_v = false;
template <typename Promise>
constexpr bool promiseHasAsyncFrame_v<
Promise,
std::void_t<decltype(std::declval<Promise&>().getAsyncFrame())>> = true;
void_t<decltype(std::declval<Promise&>().getAsyncFrame())>> = true;
} // namespace detail
......
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