diff --git a/common/text/token_info.h b/common/text/token_info.h index f7e2ce9f8..ace8c5460 100644 --- a/common/text/token_info.h +++ b/common/text/token_info.h @@ -73,8 +73,6 @@ class TokenInfo { Context(absl::string_view b, std::function translator) : base(b), token_enum_translator(std::move(translator)) {} - - Context(const Context&) = default; }; int token_enum() const { return token_enum_; } diff --git a/verilog/analysis/verilog_linter_configuration.h b/verilog/analysis/verilog_linter_configuration.h index a858320ab..7cf5df90f 100644 --- a/verilog/analysis/verilog_linter_configuration.h +++ b/verilog/analysis/verilog_linter_configuration.h @@ -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, ""}; }