mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[Distributed] [19/N] Fix clang-tidy warnings in torch/csrc/distributed/ (#138903)
Fixes #ISSUE_NUMBER Pull Request resolved: https://github.com/pytorch/pytorch/pull/138903 Approved by: https://github.com/ezyang
This commit is contained in:
@ -370,7 +370,7 @@ class NCCLComm {
|
||||
NCCLComm& operator=(NCCLComm&& other) = delete;
|
||||
|
||||
// Move constructable
|
||||
// NOLINTNEXTLINE(.*-noexcept-move-.*)
|
||||
// NOLINTNEXTLINE(*-noexcept-move-*)
|
||||
NCCLComm(NCCLComm&& other) {
|
||||
// Using other's lock, as it reads other's states
|
||||
// Can not use this.mutex_, as this object is being constructed.
|
||||
|
Reference in New Issue
Block a user