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

fix cppcheck warnings

This commit is contained in:
Steffen Vogel 2022-03-28 16:25:37 +02:00
parent 64b581c3aa
commit 4e36fa27c1

View file

@ -196,12 +196,11 @@ public:
getProcessAddressSpaceMemoryBlock(const std::string &memoryBlock)
{ return getOrCreateAddressSpace(getSlaveAddrSpaceName("process", memoryBlock)); }
AddressSpaceId
getOrCreateAddressSpace(std::string name);
void
removeAddressSpace(AddressSpaceId addrSpaceId)
removeAddressSpace(const AddressSpaceId &addrSpaceId)
{ memoryGraph.removeVertex(addrSpaceId); }
/// Create a default mapping