Skip to content

Commit

Permalink
Merge pull request chipsalliance#2169 from hzeller/feature-20240420-r…
Browse files Browse the repository at this point in the history
…emove-explicit-default-copy-constructor

Remove explicit copy constructors with default implementation.
  • Loading branch information
hzeller authored Apr 23, 2024
2 parents 2278af6 + 6898437 commit 6882622
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions common/text/token_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ class TokenInfo {
Context(absl::string_view b,
std::function<void(std::ostream&, int)> translator)
: base(b), token_enum_translator(std::move(translator)) {}

Context(const Context&) = default;
};

int token_enum() const { return token_enum_; }
Expand Down
3 changes: 0 additions & 3 deletions verilog/analysis/verilog_linter_configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ class LinterConfiguration {
// Constructor has no rules enabled by default;
LinterConfiguration() = default;

// This is copy-able.
LinterConfiguration(const LinterConfiguration &) = default;

void TurnOn(const analysis::LintRuleId &rule) {
configuration_[rule] = {true, ""};
}
Expand Down

0 comments on commit 6882622

Please sign in to comment.