there was an issue on doBounderNo class tied to the default values of the ctor of mother class doBounder: fixed

This commit is contained in:
Caner Candan 2010-09-28 10:38:38 +02:00
commit ebb20c44c5
5 changed files with 22 additions and 3 deletions

View file

@ -14,7 +14,7 @@ template < typename EOT >
class doBounder : public eoUF< EOT&, void >
{
public:
doBounder( EOT min = -5, EOT max = 5 )
doBounder( EOT min = EOT(1, 0), EOT max = EOT(1, 0) )
: _min(min), _max(max)
{
assert(_min.size() > 0);

View file

@ -14,8 +14,7 @@ template < typename EOT >
class doBounderNo : public doBounder< EOT >
{
public:
void operator()( EOT& x )
{}
void operator()( EOT& ) {}
};
#endif // !_doBounderNo_h