From eb1039a1e82bf2c47abccfb972a5c84ce8cb2149 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/clr commit: c84628f420ef27c1b77226058a61d69b46d03b16] --- projects/clr/hipamd/include/hip/hcc_detail/helpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/include/hip/hcc_detail/helpers.hpp b/projects/clr/hipamd/include/hip/hcc_detail/helpers.hpp index e69cac4c21..cdae0e0fc4 100644 --- a/projects/clr/hipamd/include/hip/hcc_detail/helpers.hpp +++ b/projects/clr/hipamd/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