Fix cang-tidy regressions caused by #65954 (#66040)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/66040
Reviewed By: ZolotukhinM
Differential Revision: D31359010
Pulled By: malfet
fbshipit-source-id: dce4b91a98913c8d8c2d8f9ebc49654265239158