Updated the src:: everywhere in eoVariableLengthCrossover.h eoFlOrMonOp.h
(that nobody seems to actually use btw :-)
This commit is contained in:
parent
558e197adc
commit
a17e266c46
2 changed files with 6 additions and 16 deletions
|
|
@ -65,12 +65,9 @@ public :
|
|||
}
|
||||
|
||||
/** inherited className() */
|
||||
virtual string className() const
|
||||
virtual std::string className() const
|
||||
{
|
||||
char s[1024];
|
||||
ostrstream os(s, 1022);
|
||||
os << "eoFlOrAllMutation(" << atomMutation.className() << ")";
|
||||
return string(s);
|
||||
return "eoFlOrAllMutation(" + atomMutation.className() + ")";
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
@ -107,12 +104,9 @@ public :
|
|||
}
|
||||
|
||||
/** inherited className() */
|
||||
virtual string className() const
|
||||
virtual std::string className() const
|
||||
{
|
||||
char s[1024];
|
||||
ostrstream os(s, 1022);
|
||||
os << "eoFlOrKMutation(" << atomMutation.className() << ")" << ends;
|
||||
return string(s);
|
||||
return "eoFlOrKMutation(" + atomMutation.className() + ")";
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@
|
|||
#ifndef _eoVariableLengthCrossover_h
|
||||
#define _eoVariableLengthCrossover_h
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <eoFunctor.h>
|
||||
#include <eoOp.h>
|
||||
|
||||
|
|
@ -204,11 +202,9 @@ public :
|
|||
|
||||
virtual std::string className() const
|
||||
{
|
||||
char s[1024];
|
||||
std::ostrstream os(s, 1022);
|
||||
os << "eoInnerExchangeQuadOp(" << atomExchange.className() << ")" << std::ends;
|
||||
return std::string(s);
|
||||
return "eoInnerExchangeQuadOp(" + op.className() + ")";
|
||||
}
|
||||
|
||||
private:
|
||||
float rate;
|
||||
eoQuadOp<AtomType> & op;
|
||||
|
|
|
|||
Reference in a new issue