Project

General

Profile

Actions

Bug #4657

closed

Fix InMemoryStorage documentation for "eraseHelper"

Added by Anonymous almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Docs
Target version:
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

Also available in: Atom PDF