Skip to content

Commit

Permalink
ISSUES FIXING. FIXUP?: Use default == and != operators from Operator
Browse files Browse the repository at this point in the history
  • Loading branch information
ol-imorozko committed Dec 2, 2024
1 parent 728774a commit 928755d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/algorithms/dc/FastADC/model/operator.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ class Operator {
public:
Operator(OperatorType type) : op_(type) {}

bool operator==(Operator const& rhs) const {
return op_ == rhs.op_;
}
bool operator==(Operator const& rhs) const = default;
bool operator!=(Operator const& rhs) const = default;

bool Eval(std::byte const* v1, std::byte const* v2, model::Type const& type) const;

Expand Down

0 comments on commit 928755d

Please sign in to comment.