[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:
Richard Barnes 2024-05-23 17:31:17 +00:00 committed by PyTorch MergeBot
parent a63310eebc
commit bbe68a16b9

View file

@ -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_;