Skip to content

Commit

Permalink
Remove semicolon(s) from 3 files inc onnx/onnx/defs/shape_inference.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
r-barnes authored and facebook-github-bot committed Feb 18, 2024
1 parent c9f97be commit 9cead21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openr/common/BuildInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class BuildInfo {
static void exportBuildInfo();

private:
BuildInfo(){};
BuildInfo() {}
};

} // namespace openr
2 changes: 1 addition & 1 deletion openr/common/EventLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9cead21

Please sign in to comment.