mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-25 08:11:06 +08:00
[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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user