From b72ea29e0dd63c15baea1074a4ea813e03e3235c Mon Sep 17 00:00:00 2001 From: evomarc Date: Fri, 16 Jul 2004 08:45:02 +0000 Subject: [PATCH] Added className (mysteriously missint) mandatory for eoCombinedInit --- eo/src/eoInit.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eo/src/eoInit.h b/eo/src/eoInit.h index 8383e7d2..49303dac 100644 --- a/eo/src/eoInit.h +++ b/eo/src/eoInit.h @@ -45,10 +45,10 @@ template class eoInit : public eoUF { public: -// virtual void operator()(EOT& chrom) -// { -// throw std::runtime_error("In the eoInit base class"); // just in case -// } + + /** SHould be pure virtual, but then we should go over the whole + * code to write the method for all derived classes ... MS 16/7/04 */ + virtual std::string className(void) const { return "eoInit"; } }; /** turning an eoInit into a generator