Fix use of c10::guts::apply (#18159)
authorSebastian Messmer <messmer@fb.com>
Thu, 21 Mar 2019 21:51:38 +0000 (14:51 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 21 Mar 2019 21:57:33 +0000 (14:57 -0700)
commit104773c715acd79909bd7ef90376c61c25839793
tree4ff5a5709e9763cfdca92866685af99c24ef55d8
parent8b94de06afefbf81029e04ef23c189687bb7103b
Fix use of c10::guts::apply (#18159)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18159

In some instances, the call to forward could clash with std::forward. Fully qualify it to make sure it gets the right one

Reviewed By: ezyang

Differential Revision: D14512189

fbshipit-source-id: 6242607dbe54fcdb93229c1a4aaee8b84a88caa1
c10/util/C++17.h