1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

do not call copy-ctor of villas::HostRamAllocator

This commit is contained in:
Steffen Vogel 2018-08-21 14:25:42 +02:00
parent 8b45a8bcac
commit d191a86c18

View file

@ -184,7 +184,7 @@ int main(int argc, char* argv[])
dma->connect(dma->getMasterPort(dma->mm2sPort),
rtds->getSlavePort(rtds->slavePort));
auto alloc = villas::HostRam::getAllocator();
auto &alloc = villas::HostRam::getAllocator();
auto mem = alloc.allocate<int32_t>(0x100 / sizeof(int32_t));
auto block = mem.getMemoryBlock();