# HG changeset patch # User Tom Fredrik Blenning Klaussen # Date 1356296695 -3600 # Node ID bc55cbd827bf7ac969feef75cfab0de1ec50abd9 # Parent b9515dc35fe455f893989138d4b2b336801cdee2 Compile fix. diff -r b9515dc35fe4 -r bc55cbd827bf BitArray.cpp --- 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 + 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)