From df8b1c2bc8b516c52b01a32f040a6c6c94dd778e Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 10 Feb 2018 00:06:20 +0800 Subject: [PATCH] test/librados: s/invoke_result_t/result_of_t/ to workaround buggy libc++ implementation. see https://cplusplus.github.io/LWG/issue2807 . we should switch to invoke_result_t once issue2807 is fixed in the latest release of libc++. Signed-off-by: Kefu Chai --- src/test/librados/lock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/librados/lock.cc b/src/test/librados/lock.cc index a95bca18688..65d3fcdf09f 100644 --- a/src/test/librados/lock.cc +++ b/src/test/librados/lock.cc @@ -21,7 +21,7 @@ typedef RadosTestECPP LibRadosLockECPP; template> + typename Return = std::result_of_t> Return wait_until(const std::chrono::duration& rel_time, const std::chrono::duration& step, const Return& expected, -- 2.39.5