Mercurial > dedupe
comparison BitArray.cpp @ 64:b9515dc35fe4
Make sure no file has greater linewidth than 80.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Fri, 14 Sep 2012 22:50:45 +0200 |
| parents | 247adcbbaf8b |
| children | bc55cbd827bf |
comparison
equal
deleted
inserted
replaced
| 63:dd086ec3220d | 64:b9515dc35fe4 |
|---|---|
| 3 BitArray::~BitArray() | 3 BitArray::~BitArray() |
| 4 { | 4 { |
| 5 delete bits; | 5 delete bits; |
| 6 } | 6 } |
| 7 | 7 |
| 8 BitArray::BitArray(const BitArray& other) : size_(other.size()), bits(new uchar[NUMCHARS(size_)]) | 8 BitArray::BitArray(const BitArray& other) |
| 9 : size_(other.size()), bits(new uchar[NUMCHARS(size_)]) | |
| 9 { | 10 { |
| 10 memcpy(bits, other.bits, NUMCHARS(size_)); | 11 memcpy(bits, other.bits, NUMCHARS(size_)); |
| 11 } | 12 } |
| 12 | 13 |
| 13 BitArray& BitArray::operator=(const BitArray& other) | 14 BitArray& BitArray::operator=(const BitArray& other) |
