Skip to content

Commit

Permalink
update previous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Feb 28, 2022
1 parent 9db8753 commit 52b2185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parallel_hashmap/phmap_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ template <typename T>
using underlying_type_t = typename std::underlying_type<T>::type;

template< class F, class... ArgTypes>
#ifdef __cpp_lib_result_of_sfinae
#if defined(PHMAP_HAVE_CC17) && defined(__cpp_lib_result_of_sfinae)
using invoke_result_t = typename std::invoke_result_t<F, ArgTypes...>;
#else
using invoke_result_t = typename std::result_of<F(ArgTypes...)>::type;
Expand Down

0 comments on commit 52b2185

Please sign in to comment.