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) {