fix a warning

This commit is contained in:
Johann Dreo 2023-01-18 11:28:50 +01:00 committed by nojhan
commit 36fe6e6f7d

View file

@ -144,6 +144,11 @@ class moBinaryPartitionSwapNeighbor :
auto [in, out] = neighbor.get();
return this->select == in and this->reject == out;
}
private:
// Disable access to `equals(moNeighbor<…>&)` (removes the related overloaded-virtual warning).
using moBackableNeighbor<EOT,double>::equals;
public:
virtual std::string className() const override {
return "moBinaryPartitionSwapNeighbor";