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:
evomarc 2001-10-05 03:30:12 +00:00
commit 653e64df09

View file

@ -45,10 +45,10 @@ template <class EOT>
class eoInit : public eoUF<EOT&, void> class eoInit : public eoUF<EOT&, void>
{ {
public: public:
virtual void operator()(EOT& chrom) // virtual void operator()(EOT& chrom)
{ // {
throw runtime_error("In the eoInit base class"); // just in case // throw runtime_error("In the eoInit base class"); // just in case
} // }
}; };
/** turning an eoInit into a generator /** turning an eoInit into a generator