fix more warnings

This commit is contained in:
Philip Top 2021-11-19 10:22:37 -08:00
parent a919190490
commit eef7106fbe

View File

@ -282,7 +282,7 @@ using enable_if_t = typename std::enable_if<B, T>::type;
// ---------------------------------------------------------------------------
// return_type_of_t
#if __cplusplus >= 201703L && defined(__cpp_lib_is_invocable) && __cpp_lib_is_invokable>=201710
#if __cplusplus >= 201703L && defined(__cpp_lib_is_invocable) && __cpp_lib_is_invocable>=201710
template<typename F, typename ... Args>
using return_type_of_t = std::invoke_result_t<F, Args...>;