Commit 71be50bd authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Add missing template qualification in FunctionRef

Summary: [Folly] Add missing `template` qualification in `FunctionRef`. Comparable sites in `Function` include the `template` qualification.

Reviewed By: LeeHowes

Differential Revision: D17521726

fbshipit-source-id: 350fd0c2944508fb653239d637516d099184330d
parent 98e63e8a
......@@ -961,7 +961,7 @@ class FunctionRef<ReturnType(Args...)> final {
// is a const type) inside `FunctionRef::call`
: object_(
const_cast<void*>(static_cast<void const*>(std::addressof(fun)))),
call_(&FunctionRef::call<Fun>) {}
call_(&FunctionRef::template call<Fun>) {}
ReturnType operator()(Args... args) const {
return call_(object_, static_cast<Args&&>(args)...);
......
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