(Wangle) Use perfect forwarding for LambdaBufHelper
authorHannes Roth <hannesr@fb.com>
Tue, 11 Aug 2015 23:11:59 +0000 (16:11 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Wed, 12 Aug 2015 00:22:04 +0000 (17:22 -0700)
commit1e06e1dbc68fec05e415ca1fe3380fd01be6b90d
treecbf39828ed123e8c73e84084a1b527b4694bccf0
parent39080c90768c509796fb34d8239814b4a814e445
(Wangle) Use perfect forwarding for LambdaBufHelper

Summary: Perfect forwarding only works if the function is templated on the same type, not if the type is a class template.

Discovered by @lbrandy.

Reviewed By: @yfeldblum, @lbrandy

Differential Revision: D2333005
folly/futures/detail/Core.h