Commit 62257ded authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Cut unnecessary template param default of futexWaitUntil

Summary: [Folly] Cut unnecessary template param default of `futexWaitUntil`; the param is deduced from the arguments.

Reviewed By: aary

Differential Revision: D15448750

fbshipit-source-id: ec81fc10efbf68ad328a1fb1b7d2fdb2e93551cd
parent 3e5cdc05
...@@ -69,10 +69,7 @@ futexWait(const Futex* futex, uint32_t expected, uint32_t waitMask = -1); ...@@ -69,10 +69,7 @@ futexWait(const Futex* futex, uint32_t expected, uint32_t waitMask = -1);
* *
* For any other clock type, now() will be invoked twice. * For any other clock type, now() will be invoked twice.
*/ */
template < template <typename Futex, class Clock, class Duration>
typename Futex,
class Clock,
class Duration = typename Clock::duration>
FutexResult futexWaitUntil( FutexResult futexWaitUntil(
const Futex* futex, const Futex* futex,
uint32_t expected, uint32_t expected,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment