Fix javascript build after bc2e8d99

This commit is contained in:
Rémi Verschelde 2017-11-27 07:41:00 +01:00
parent b016e9aff5
commit c7e53f1934

View file

@ -55,10 +55,10 @@ class FileAccessBufferedFA : public FileAccessBuffered {
// on dvector
//PoolVector<uint8_t>::Write write = cache.buffer.write();
//f.get_buffer(write.ptr(), p_size);
//f.get_buffer(write.ptrw(), p_size);
// on vector
f.get_buffer(cache.buffer.ptr(), p_size);
f.get_buffer(cache.buffer.ptrw(), p_size);
return p_size;
};