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:
parent
8b45a8bcac
commit
d191a86c18
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue