|
@ -118,6 +118,8 @@ namespace storm { |
|
|
bitCount = other.bitCount; |
|
|
bitCount = other.bitCount; |
|
|
if (buckets && bucketCount() != other.bucketCount()) { |
|
|
if (buckets && bucketCount() != other.bucketCount()) { |
|
|
delete[] buckets; |
|
|
delete[] buckets; |
|
|
|
|
|
} |
|
|
|
|
|
if (!buckets) { |
|
|
buckets = new uint64_t[other.bucketCount()]; |
|
|
buckets = new uint64_t[other.bucketCount()]; |
|
|
} |
|
|
} |
|
|
std::copy_n(other.buckets, other.bucketCount(), buckets); |
|
|
std::copy_n(other.buckets, other.bucketCount(), buckets); |
|
|