[Avida-SVN] r1726 - development/source/tools

ofria at myxo.css.msu.edu ofria at myxo.css.msu.edu
Thu Jun 28 14:51:13 PDT 2007


Author: ofria
Date: 2007-06-28 17:51:13 -0400 (Thu, 28 Jun 2007)
New Revision: 1726

Modified:
   development/source/tools/cString.h
Log:
Default argument bug (on linux only).  Fixed...


Modified: development/source/tools/cString.h
===================================================================
--- development/source/tools/cString.h	2007-06-28 21:38:42 UTC (rev 1725)
+++ development/source/tools/cString.h	2007-06-28 21:51:13 UTC (rev 1726)
@@ -152,7 +152,7 @@
     assert( in != NULL );     // NULL input string
     assert( value != NULL );  // Memory Allocation Error: Out of Memory
   }
-  cString(const char* in = "", int in_size) : value(new cStringData(in_size, in))
+  cString(const char* in, int in_size) : value(new cStringData(in_size, in))
   {
     assert(in_size >= 0);
     assert( in != NULL );     // NULL input string




More information about the Avida-cvs mailing list