pytorch/torch/csrc/api
Nikita Shulga cd0724f9f1 Do not std::move returned value (#37891)
Summary:
This prevents compiler to use copy elision and triggers `redundant move in return statement` warning.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37891

Differential Revision: D21417998

Pulled By: malfet

fbshipit-source-id: 4008a6442cee3fe710c2da252b1bde7b4293b63f
2020-05-06 15:38:05 -07:00
..
include/torch Do not std::move returned value (#37891) 2020-05-06 15:38:05 -07:00
src Removed unnecessary call to '_strong_wolfe' in LBFGS. (#36453) 2020-04-13 09:06:33 -07:00