fix(mo): comment out unused parameters

Removes -Wunused-parameters warnings.
This commit is contained in:
Johann Dreo 2022-09-10 06:26:34 +02:00
commit 843aa6fc37
69 changed files with 159 additions and 159 deletions

View file

@ -79,7 +79,7 @@ public:
* @param _sol the current solution
* @param _neighbor unused neighbor (always empty)
*/
virtual void add(EOT & _sol, Neighbor & _neighbor) {
virtual void add(EOT & _sol, Neighbor & /*_neighbor*/) {
(*this).init(_sol);
}
@ -88,7 +88,7 @@ public:
* @param _sol the current solution
* @param _neighbor unused neighbor (always empty)
*/
virtual void update(EOT & _sol, Neighbor & _neighbor) {
virtual void update(EOT & _sol, Neighbor & /*_neighbor*/) {
if (otherNeighborhood.cont(_sol))
otherNeighborhood.next(_sol, current);
else