Skip to content
Snippets Groups Projects
Commit e41ceb0c authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing with latest ExtPreAlloc

parent 1465a106
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment