Removed the #ifdef that protected the lt_arity avaints MSVC (!!!)

This commit is contained in:
evomarc 2002-01-17 17:54:56 +00:00
commit 87d733dda5

View file

@ -95,13 +95,16 @@ static SymregNode init_sequence[5] = {SymregNode::X, SymregNode::Plus, SymregNod
// MSVC does not recognize the lt_arity<Node> 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<Node> in eoParseTreeDepthInit
// !!!
// #ifdef _MSC_VER
template <>
bool lt_arity(const SymregNode &node1, const SymregNode &node2)
{
return (node1.arity() < node2.arity());
}
#endif
// #endif
//-----------------------------------------------------------
// saving, loading