[Avida-cvs] [avida3-svn] r49 - trunk/source/tools
kaben@myxo.css.msu.edu
kaben at myxo.css.msu.edu
Sun Apr 9 22:46:37 PDT 2006
Author: kaben
Date: 2006-04-10 01:46:37 -0400 (Mon, 10 Apr 2006)
New Revision: 49
Modified:
trunk/source/tools/tMemTrack.h
Log:
Added / cleaned comments in tMemTrack.h.
Modified: trunk/source/tools/tMemTrack.h
===================================================================
--- trunk/source/tools/tMemTrack.h 2006-04-10 03:38:55 UTC (rev 48)
+++ trunk/source/tools/tMemTrack.h 2006-04-10 05:46:37 UTC (rev 49)
@@ -17,7 +17,7 @@
template <class T>
class tA {
private:
- tMemTrack<tA<T>> mt;
+ tMemTrack<tA<T> > mt;
public:
...
};
@@ -38,7 +38,7 @@
***
-I prefer the former method, with a one-byte overhead, because it seems
+I like the former method, with a one-byte overhead, because it seems
less error-prone. I've been wrapping the member variable in preprocessor
conditionals so that I can easily turn-off memory-tracking (including the
one-byte overhead):
@@ -52,6 +52,12 @@
...
};
+***
+
+Note: I think that if we build dynamic libraries on windows for
+Avida-ED, we'll have to turn memory tracking off, because it uses a
+static variable. But it will still help in debugging.
+
@kgn
*/
More information about the Avida-cvs
mailing list