[Avida-SVN] r2983 - in development/source: cpu tools

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Fri Nov 28 09:49:22 PST 2008


Author: brysonda
Date: 2008-11-28 12:49:22 -0500 (Fri, 28 Nov 2008)
New Revision: 2983

Modified:
   development/source/cpu/cHardwareBase.cc
   development/source/tools/cArgSchema.h
Log:
Make sure that cArgSchema properly initializes has_range_limits in all of its constructors.

Modified: development/source/cpu/cHardwareBase.cc
===================================================================
--- development/source/cpu/cHardwareBase.cc	2008-11-27 17:10:48 UTC (rev 2982)
+++ development/source/cpu/cHardwareBase.cc	2008-11-28 17:49:22 UTC (rev 2983)
@@ -1,7 +1,7 @@
 /*
  *  cHardwareBase.cc
  *  Avida
- *../RSDN_FI_25ku_basemut_org50_1dist_fixlen_32205
+ *
  *  Called "hardware_base.cc" prior to 11/17/05.
  *  Copyright 1999-2008 Michigan State University. All rights reserved.
  *  Copyright 1999-2003 California Institute of Technology.

Modified: development/source/tools/cArgSchema.h
===================================================================
--- development/source/tools/cArgSchema.h	2008-11-27 17:10:48 UTC (rev 2982)
+++ development/source/tools/cArgSchema.h	2008-11-28 17:49:22 UTC (rev 2983)
@@ -60,7 +60,7 @@
     
     sArgSchemaEntry() { ; }
     sArgSchemaEntry(const cString& in_name, int in_idx, tType in_type)  // Required Argument (supplied type)
-      : name(in_name), type(in_type), index(in_idx), optional(false) { ; }
+      : name(in_name), type(in_type), index(in_idx), optional(false), has_range_limits(false) { ; }
     sArgSchemaEntry(const cString& in_name, int in_idx, int def)        // Optional Int Argument
       : name(in_name), type(SCHEMA_INT), index(in_idx), optional(true), def_int(def), has_range_limits(false) { ; }
     sArgSchemaEntry(const cString& in_name, int in_idx, double def)     // Optional Double Argument




More information about the Avida-cvs mailing list