svn commit: trunk/uClibc++/include
gkajmowi at uclibc.org
gkajmowi at uclibc.org
Sat Oct 14 23:11:34 UTC 2006
Author: gkajmowi
Date: 2006-10-14 16:11:34 -0700 (Sat, 14 Oct 2006)
New Revision: 16387
Log:
Don't bother initializing pointers to zero in the destructor. If a person reuses a pointer after
deletion, they get what they deserve.
Modified:
trunk/uClibc++/include/vector
Changeset:
Modified: trunk/uClibc++/include/vector
===================================================================
--- trunk/uClibc++/include/vector 2006-10-14 23:10:24 UTC (rev 16386)
+++ trunk/uClibc++/include/vector 2006-10-14 23:11:34 UTC (rev 16387)
@@ -357,9 +357,6 @@
a.destroy(data + i);
}
a.deallocate(data, data_size);
- data = 0;
- elements = 0;
- data_size=0;
}
More information about the uClibc-cvs
mailing list