[4/N] Fixes clang-tidy warnings in header files (#115163)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/115163
Approved by: https://github.com/Skylion007
This commit is contained in:
cyy
2023-12-06 04:59:57 +00:00
committed by PyTorch MergeBot
parent f4c67ffff4
commit d250b2158e
10 changed files with 17 additions and 15 deletions

View File

@ -56,7 +56,7 @@ struct PyTensorType {
};
static_assert(
std::is_standard_layout<PyTensorType>::value,
std::is_standard_layout_v<PyTensorType>,
"PyTensorType must be standard layout");
static Backend default_backend = Backend::CPU;