fix several warnings

Probably fixes a bug in es/CMA, which has been deprecated for a long time in favor of the EDO module anyway.
This commit is contained in:
Johann Dreo 2025-04-07 14:16:37 +02:00
commit 22275e434b
15 changed files with 51 additions and 36 deletions

View file

@ -52,7 +52,7 @@ class Loop<T,Arg...>
}
template<class U>
U& findValueImpl(T& t, Arg&... arg, std::true_type)
U& findValueImpl(T& t, Arg&... /*arg*/, std::true_type)
{
return t;
}

View file

@ -59,6 +59,10 @@ paradiseo::smp::Island<EOAlgo,EOT,bEOT>::Island(eoPop<EOT>& _pop, IntPolicy<EOT>
_pop, _intPolicy, _migPolicy, args...)
{ }
template<template <class> class EOAlgo, class EOT, class bEOT>
paradiseo::smp::Island<EOAlgo,EOT,bEOT>::~Island()
{ }
template<template <class> class EOAlgo, class EOT, class bEOT>
void paradiseo::smp::Island<EOAlgo,EOT,bEOT>::operator()()
{

View file

@ -133,7 +133,8 @@ public:
virtual void receive(void);
//AIsland<bEOT> clone() const;
virtual ~Island();
protected:
/**

View file

@ -30,6 +30,8 @@ Contact: paradiseo-help@lists.gforge.inria.fr
#ifndef _QAPGA_h
#define _QAPGA_h
extern int n; // size
class ProblemInit : public eoInit<Problem>
{
public: