From 653e64df090bff2953a3c0b72ae4b0f658644bf7 Mon Sep 17 00:00:00 2001 From: evomarc Date: Fri, 5 Oct 2001 03:30:12 +0000 Subject: [PATCH] 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 --- 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 f872c1dd..3d5f6835 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 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