add "=0;" at the end of two virtual method
This commit is contained in:
parent
916152b02e
commit
8c40a38cdc
1 changed files with 6 additions and 6 deletions
|
|
@ -70,13 +70,13 @@ public:
|
||||||
/*
|
/*
|
||||||
* Return the global best of the topology
|
* Return the global best of the topology
|
||||||
*/
|
*/
|
||||||
virtual POT & globalBest(){}
|
virtual POT & globalBest() = 0;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prints the neighborhoods contained in the topology.
|
* Prints the neighborhoods contained in the topology.
|
||||||
*/
|
*/
|
||||||
virtual void printOn(){}
|
virtual void printOn() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue