From 63e47e525bbab59cf7e26d20576e511a0d17b9ba Mon Sep 17 00:00:00 2001 From: Michael LIAO Date: Mon, 26 Aug 2019 10:49:04 -0400 Subject: [PATCH] [hcc] Fix previous replacement of `result_of_t`. - `result_of_t` is defined as the shortcut of ``` template< class T > using result_of_t = typename result_of::type; ``` --- include/hip/hcc_detail/helpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hip/hcc_detail/helpers.hpp b/include/hip/hcc_detail/helpers.hpp index e69cac4c21..cdae0e0fc4 100644 --- a/include/hip/hcc_detail/helpers.hpp +++ b/include/hip/hcc_detail/helpers.hpp @@ -89,7 +89,7 @@ template struct is_callable_impl : std::false_type {}; template -struct is_callable_impl std::result_of::type(Ts...) > > : std::true_type {}; +struct is_callable_impl::type > > : std::true_type {}; #else // C++17