Commented out the oeprator() default function in base class: I find it more secure
to be warned at compile time that one function is still pure virtual than to look for the error after a run-time-error that gives no clue
This commit is contained in:
parent
0847875339
commit
653e64df09
1 changed files with 4 additions and 4 deletions
|
|
@ -45,10 +45,10 @@ template <class EOT>
|
|||
class eoInit : public eoUF<EOT&, void>
|
||||
{
|
||||
public:
|
||||
virtual void operator()(EOT& chrom)
|
||||
{
|
||||
throw runtime_error("In the eoInit base class"); // just in case
|
||||
}
|
||||
// virtual void operator()(EOT& chrom)
|
||||
// {
|
||||
// throw runtime_error("In the eoInit base class"); // just in case
|
||||
// }
|
||||
};
|
||||
|
||||
/** turning an eoInit into a generator
|
||||
|
|
|
|||
Reference in a new issue