Actions
Bug #4657
closedFix InMemoryStorage documentation for "eraseHelper"
Start date:
Due date:
% Done:
100%
Estimated time:
Description
The documentation for InMemoryStorage::erase and evictItem says "Please do not use this function directly in any derived class to erase entry in the cache, use eraseHelper instead."
https://github.com/named-data/ndn-cxx/blob/db4da5e4fb1afc494384044b97b6d1b77899ead5/src/ims/in-memory-storage.hpp#L181
https://github.com/named-data/ndn-cxx/blob/db4da5e4fb1afc494384044b97b6d1b77899ead5/src/ims/in-memory-storage.hpp#L244
But I don't see any method "eraseHelper". So, is it OK to use the erase function? Should this note be removed?
Actions