lmdb: Remove unused function
This commit is contained in:
parent
45922b47ec
commit
66d3e7b301
|
@ -99,7 +99,6 @@ public:
|
|||
|
||||
template <typename IndexType> StorageEntry *find(const IndexType &ref);
|
||||
StorageEntry &insert(StorageEntry &&entry);
|
||||
void undo();
|
||||
std::size_t erase(const Ref &ref);
|
||||
std::size_t clear(const Storage &storage);
|
||||
iterator begin();
|
||||
|
@ -117,11 +116,6 @@ inline StorageCacheEntries<StorageEntryType>::StorageCacheEntries(std::size_t li
|
|||
{
|
||||
}
|
||||
|
||||
template <typename StorageEntryType> inline void StorageCacheEntries<StorageEntryType>::undo()
|
||||
{
|
||||
m_entries.pop_front();
|
||||
}
|
||||
|
||||
template <typename StorageEntryType> inline std::size_t StorageCacheEntries<StorageEntryType>::erase(const Ref &ref)
|
||||
{
|
||||
return m_entries.template get<typename StorageEntryType::Ref>().erase(ref);
|
||||
|
|
Loading…
Reference in New Issue