Delete unused copy constructor & assignment operator in Rule, RuleMarker & Action

- Declare other unsupported copy constructor & assignment operators as
  deleted too (RuleWithActions, RuleUnconditional & RuleScript)
This commit is contained in:
Eduardo Arias
2024-06-02 02:03:34 +00:00
parent f180e647a1
commit 2ec640fd76
7 changed files with 37 additions and 147 deletions

View File

@@ -45,7 +45,7 @@ class RuleWithOperator : public RuleWithActions {
std::unique_ptr<std::string> fileName,
int lineNumber);
virtual ~RuleWithOperator();
~RuleWithOperator() override;
bool evaluate(Transaction *transaction,
std::shared_ptr<RuleMessage> rm) override;