Let EventBaseLocal::getOrCreateFn take the callable by value
Summary: [Folly] Let EventBaseLocal::getOrCreateFn take the callable by value, rather than by non-const lvalue ref. This lets temporaries, including lambda expression temporaries, be passed as the callable argument. Reviewed By: andriigrynenko Differential Revision: D12831069 fbshipit-source-id: 4c61f2cd3fb3eeaab6e7c72d2b0458b657c9d107
Showing
Please register or sign in to comment