mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[codemod][lowrisk] Remove extra semi colon from caffe2/caffe2/core/observer.h (#126976)
Summary: `-Wextra-semi` or `-Wextra-semi-stmt` If the code compiles, this is safe to land. Test Plan: Sandcastle Reviewed By: palmje Differential Revision: D57632765 Pull Request resolved: https://github.com/pytorch/pytorch/pull/126976 Approved by: https://github.com/Skylion007
This commit is contained in:
parent
a63310eebc
commit
bbe68a16b9
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ class ObserverBase {
|
|||
return "Not implemented.";
|
||||
}
|
||||
|
||||
virtual ~ObserverBase() noexcept {};
|
||||
virtual ~ObserverBase() noexcept {}
|
||||
|
||||
T* subject() const {
|
||||
return subject_;
|
||||
|
|
@ -32,7 +32,7 @@ class ObserverBase {
|
|||
virtual std::unique_ptr<ObserverBase<T>> rnnCopy(T* subject, int rnn_order)
|
||||
const {
|
||||
return nullptr;
|
||||
};
|
||||
}
|
||||
|
||||
protected:
|
||||
T* subject_;
|
||||
|
|
|
|||
Loading…
Reference in a new issue