From 87d733dda565cc408b2ad9fe3a94535dd9302ad9 Mon Sep 17 00:00:00 2001 From: evomarc Date: Thu, 17 Jan 2002 17:54:56 +0000 Subject: [PATCH] Removed the #ifdef that protected the lt_arity avaints MSVC (!!!) --- eo/test/t-eoSymreg.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eo/test/t-eoSymreg.cpp b/eo/test/t-eoSymreg.cpp index 222a000d..fd227edb 100644 --- a/eo/test/t-eoSymreg.cpp +++ b/eo/test/t-eoSymreg.cpp @@ -95,13 +95,16 @@ static SymregNode init_sequence[5] = {SymregNode::X, SymregNode::Plus, SymregNod // MSVC does not recognize the lt_arity in eoParseTreeDepthInit // without this specialization ... -#ifdef _MSC_VER +// 2 months later, it seems it does not accept this definition ... +// but dies accept the lt_arity in eoParseTreeDepthInit +// !!! +// #ifdef _MSC_VER template <> bool lt_arity(const SymregNode &node1, const SymregNode &node2) { return (node1.arity() < node2.arity()); } -#endif +// #endif //----------------------------------------------------------- // saving, loading