several fix of minor warnings

This commit is contained in:
Johann Dreo 2020-03-25 14:45:11 +01:00
commit 0332920d63
14 changed files with 22 additions and 20 deletions

View file

@ -64,7 +64,7 @@ public:
_setter(setter)
{}
virtual D operator()( eoPop<EOType>& pop )
virtual D operator()( eoPop<EOType>& )
{
_setter( _getter() );
return this->_distrib;

View file

@ -51,13 +51,13 @@ public:
* The default implementation is to push back a true boolean.
* If you have a more complex data structure, you can just overload this.
*/
virtual void make_true( AtomType & atom, unsigned int i, unsigned int j )
virtual void make_true( AtomType & atom, unsigned int, unsigned int )
{
atom.push_back( 1 );
}
/** @see make_true */
virtual void make_false( AtomType & atom, unsigned int i, unsigned int j )
virtual void make_false( AtomType & atom, unsigned int, unsigned int )
{
atom.push_back( 0 );
}