Adjust code to perform to C++ standard according to gcc-3.4
interpretation... (Have not compiled/checked/changed paradisEO.) That is, the current code compiles with gcc-3.4 and the checks (besides t-MGE1bit) all pass.
This commit is contained in:
parent
faaadf7599
commit
85a326c5e4
35 changed files with 1057 additions and 864 deletions
|
|
@ -46,16 +46,14 @@
|
|||
template <class EoType>
|
||||
class eoDominanceMap : public eoUF<const eoPop<EoType>&, void>, public std::vector<std::vector<bool> >
|
||||
{
|
||||
public :
|
||||
public:
|
||||
|
||||
/**
|
||||
Clears the map
|
||||
*/
|
||||
void clear()
|
||||
{
|
||||
std::vector<std::vector<bool> >::clear();
|
||||
fitnesses.clear();
|
||||
}
|
||||
/** Clears the map */
|
||||
void clear() {
|
||||
std::vector<std::vector<bool> >::clear();
|
||||
#warning Is this correct? Was: "fitnesses.clear()"
|
||||
fitness.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
Update or create the dominance map
|
||||
|
|
|
|||
Reference in a new issue