Changeset 1295
- Timestamp:
- Apr 25, 2012, 1:05:15 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/array.h
r1293 r1295 40 40 { 41 41 Reserve(that.m_reserved); 42 memcpy(m_data, that.m_data, m_count * sizeof(Element));42 memcpy(m_data, that.m_data, that.m_count * sizeof(Element)); 43 43 m_count = that.m_count; 44 44 } … … 46 46 ArrayBase& operator=(ArrayBase const& that) 47 47 { 48 /* FIXME: delete old data!! */ 48 49 m_data = 0; 49 50 m_count = 0;
Note: See TracChangeset
for help on using the changeset viewer.