fix a warning
This commit is contained in:
parent
86c750618f
commit
36fe6e6f7d
1 changed files with 5 additions and 0 deletions
|
|
@ -144,6 +144,11 @@ class moBinaryPartitionSwapNeighbor :
|
||||||
auto [in, out] = neighbor.get();
|
auto [in, out] = neighbor.get();
|
||||||
return this->select == in and this->reject == out;
|
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 {
|
virtual std::string className() const override {
|
||||||
return "moBinaryPartitionSwapNeighbor";
|
return "moBinaryPartitionSwapNeighbor";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue