add virtual heritage
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1725 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
856830e4ed
commit
2527eee8cc
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
* Abstract class for diversification strategy
|
* Abstract class for diversification strategy
|
||||||
*/
|
*/
|
||||||
template< class Neighbor >
|
template< class Neighbor >
|
||||||
class moDiversification : public moMemory<Neighbor>, public eoUF<typename Neighbor::EOT &,bool>
|
class moDiversification : virtual public moMemory<Neighbor>, public eoUF<typename Neighbor::EOT &,bool>
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
* Abstract class for intensification strategy
|
* Abstract class for intensification strategy
|
||||||
*/
|
*/
|
||||||
template< class Neighbor >
|
template< class Neighbor >
|
||||||
class moIntensification : public moMemory<Neighbor>, public eoUF<typename Neighbor::EOT &,bool>
|
class moIntensification : virtual public moMemory<Neighbor>, public eoUF<typename Neighbor::EOT &,bool>
|
||||||
{};
|
{};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue