Merge pull request #20379 from tchaikov/wip-test-fix-freebsd

test/librados: s/invoke_result_t/result_of_t/

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
Kefu Chai 2018-02-12 11:17:22 +08:00 committed by GitHub
commit 4021d2b679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ typedef RadosTestECPP LibRadosLockECPP;
template<class Rep, class Period, typename Func, typename... Args,
typename Return = std::invoke_result_t<Func, Args...>>
typename Return = std::result_of_t<Func&&(Args&&...)>>
Return wait_until(const std::chrono::duration<Rep, Period>& rel_time,
const std::chrono::duration<Rep, Period>& step,
const Return& expected,