From 9cead2118fc1d0615a830b2ecac2ac1914bcf030 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Sun, 18 Feb 2024 07:52:16 -0800 Subject: [PATCH] Remove semicolon(s) from 3 files inc onnx/onnx/defs/shape_inference.h Summary: `-Wextra-semi` or `-Wextra-semi-stmt` found an extra semi If the code compiles, this is safe to land. Reviewed By: palmje, dmm-fb Differential Revision: D53776122 fbshipit-source-id: b6b3ebc785f491c4d1363489304e912284082ffc --- openr/common/BuildInfo.h | 2 +- openr/common/EventLogger.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openr/common/BuildInfo.h b/openr/common/BuildInfo.h index 74f7c007405..39725b4fda5 100644 --- a/openr/common/BuildInfo.h +++ b/openr/common/BuildInfo.h @@ -116,7 +116,7 @@ class BuildInfo { static void exportBuildInfo(); private: - BuildInfo(){}; + BuildInfo() {} }; } // namespace openr diff --git a/openr/common/EventLogger.h b/openr/common/EventLogger.h index f16ec87065e..580868417cb 100644 --- a/openr/common/EventLogger.h +++ b/openr/common/EventLogger.h @@ -17,7 +17,7 @@ constexpr auto kOpenrEventPrefix("OPENR_EVENT"); struct EventTag { explicit EventTag( std::string prefix = kOpenrEventPrefix, std::string sub_type = "") - : prefix_(std::move(prefix)), sub_type_(std::move(sub_type)){}; + : prefix_(std::move(prefix)), sub_type_(std::move(sub_type)) {} friend std::ostream& operator<<(std::ostream& out, const EventTag& tag) {