Mercurial > dedupe
changeset 65:bc55cbd827bf
Compile fix.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Sun, 23 Dec 2012 22:04:55 +0100 |
| parents | b9515dc35fe4 |
| children | a60c26e34d1a |
| files | BitArray.cpp |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/BitArray.cpp Fri Sep 14 22:50:45 2012 +0200 +++ b/BitArray.cpp Sun Dec 23 22:04:55 2012 +0100 @@ -1,5 +1,7 @@ #include "BitArray.hpp" +#include <cstring> + BitArray::~BitArray() { delete bits; @@ -8,7 +10,7 @@ BitArray::BitArray(const BitArray& other) : size_(other.size()), bits(new uchar[NUMCHARS(size_)]) { - memcpy(bits, other.bits, NUMCHARS(size_)); + std::memcpy(bits, other.bits, NUMCHARS(size_)); } BitArray& BitArray::operator=(const BitArray& other)
