More fixes and improved clang-tidy checkers (#93213)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/93213
Approved by: https://github.com/Skylion007
This commit is contained in:
cyy
2023-02-01 14:44:13 +00:00
committed by PyTorch MergeBot
parent 679e869af0
commit 37f7c00a8a
37 changed files with 91 additions and 100 deletions

View File

@ -27,7 +27,7 @@ class THManagedMapAllocator : private THManagedMapAllocatorInit,
void close() override;
~THManagedMapAllocator() {
~THManagedMapAllocator() override {
close();
}