Fix a bug to moBestSoFarStat : change the return type value EOT& by EOT
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1901 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
f33552b07f
commit
45744141ed
1 changed files with 3 additions and 3 deletions
|
|
@ -41,15 +41,15 @@
|
|||
* The statistic which save the best solution found during the search
|
||||
*/
|
||||
template <class EOT>
|
||||
class moBestSoFarStat : public moStat<EOT, EOT&>
|
||||
class moBestSoFarStat : public moStat<EOT, EOT>
|
||||
{
|
||||
public :
|
||||
using moStat< EOT , EOT& >::value;
|
||||
using moStat< EOT , EOT >::value;
|
||||
|
||||
/**
|
||||
* Default Constructor
|
||||
*/
|
||||
moBestSoFarStat(): moStat<EOT, EOT&>(EOT(), "best") {
|
||||
moBestSoFarStat(): moStat<EOT, EOT>(EOT(), "best") {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue