Skip to content

Commit 6882622

Browse files
authored
Merge pull request #2169 from hzeller/feature-20240420-remove-explicit-default-copy-constructor
Remove explicit copy constructors with default implementation.
2 parents 2278af6 + 6898437 commit 6882622

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

common/text/token_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ class TokenInfo {
7373
Context(absl::string_view b,
7474
std::function<void(std::ostream&, int)> translator)
7575
: base(b), token_enum_translator(std::move(translator)) {}
76-
77-
Context(const Context&) = default;
7876
};
7977

8078
int token_enum() const { return token_enum_; }

verilog/analysis/verilog_linter_configuration.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,6 @@ class LinterConfiguration {
188188
// Constructor has no rules enabled by default;
189189
LinterConfiguration() = default;
190190

191-
// This is copy-able.
192-
LinterConfiguration(const LinterConfiguration &) = default;
193-
194191
void TurnOn(const analysis::LintRuleId &rule) {
195192
configuration_[rule] = {true, ""};
196193
}

0 commit comments

Comments
 (0)