From e3d7baceff1bd46d6f73cabf4b18e2aa5b9e5e40 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; ``` [ROCm/hip commit: 63e47e525bbab59cf7e26d20576e511a0d17b9ba] --- projects/hip/include/hip/hcc_detail/helpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/include/hip/hcc_detail/helpers.hpp b/projects/hip/include/hip/hcc_detail/helpers.hpp index e69cac4c21..cdae0e0fc4 100644 --- a/projects/hip/include/hip/hcc_detail/helpers.hpp +++ b/projects/hip/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