Commit ddece6ce authored by Pietro Incardona's avatar Pietro Incardona

Fixing BHeapMemory

parent 95ed584d
......@@ -52,14 +52,13 @@ public:
// Copy the Heap memory
BHeapMemory(const BHeapMemory & mem)
:HeapMemory(mem)
:HeapMemory(mem),buf_sz(mem.size())
{
}
BHeapMemory(BHeapMemory && mem) noexcept
:HeapMemory((HeapMemory &&)mem)
:HeapMemory((HeapMemory &&)mem),buf_sz(mem.size())
{
buf_sz = mem.buf_sz;
}
//! Constructor, we choose a default alignment of 32 for avx
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment