Changeset 192e299 in thomson for elec/CrO2/software/k5.cpp
- Timestamp:
- Feb 3, 2012, 7:37:06 PM (12 years ago)
- Branches:
- main
- Children:
- c2a9854
- Parents:
- f9263dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
elec/CrO2/software/k5.cpp
rf9263dd r192e299 23 23 data = new uint8_t[length]; 24 24 memcpy(data, other.data, length); 25 } 26 27 const K5::Block& K5::Block::operator=(const Block& other) 28 { 29 delete[] data; 30 // May not be null ? 31 32 length = other.length; 33 type = other.type; 34 data = new uint8_t[length]; 35 memcpy(data, other.data, length); 36 37 return *this; 25 38 } 26 39
Note:
See TracChangeset
for help on using the changeset viewer.