Commit e41ceb0c authored by Pietro Incardona's avatar Pietro Incardona

Fixing with latest ExtPreAlloc

parent 1465a106
......@@ -259,10 +259,8 @@ public:
return false;
// Create the HeapMemory and the ExtPreAlloc memory
std::vector<size_t> pap_prp;
pap_prp.push_back(sz);
HeapMemory pmem;
ExtPreAlloc<HeapMemory> mem(pap_prp,pmem);
ExtPreAlloc<HeapMemory> mem(sz,pmem);
// read
input.read((char *)pmem.getPointer(), sz);
......
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