[Avida-SVN] r1887 - development/source/main
goingssh at myxo.css.msu.edu
goingssh at myxo.css.msu.edu
Thu Aug 2 09:56:08 PDT 2007
Author: goingssh
Date: 2007-08-02 12:56:07 -0400 (Thu, 02 Aug 2007)
New Revision: 1887
Modified:
development/source/main/cPhenotype.h
Log:
fixed windows compiling problem in lt_phenotype struct
Modified: development/source/main/cPhenotype.h
===================================================================
--- development/source/main/cPhenotype.h 2007-08-02 16:17:50 UTC (rev 1886)
+++ development/source/main/cPhenotype.h 2007-08-02 16:56:07 UTC (rev 1887)
@@ -462,7 +462,7 @@
bool operator!=(const cPhenotype& rhs) const;
struct lt_phenotype{
- bool operator()(const cPhenotype* lhs, const cPhenotype* rhs)
+ bool operator()(const cPhenotype* lhs, const cPhenotype* rhs) const
{return *lhs < *rhs;} // operator< in cPhenotype
};
More information about the Avida-cvs
mailing list