From: Kefu Chai Date: Fri, 9 Feb 2018 16:06:20 +0000 (+0800) Subject: test/librados: s/invoke_result_t/result_of_t/ X-Git-Tag: v13.0.2~289^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20379%2Fhead;p=ceph.git 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 --- diff --git a/src/test/librados/lock.cc b/src/test/librados/lock.cc index a95bca18688a..65d3fcdf09f0 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,