lmdb: Remove unused function

This commit is contained in:
Martchus 2022-01-26 00:44:07 +01:00
parent 45922b47ec
commit 66d3e7b301
1 changed files with 0 additions and 6 deletions

View File

@ -99,7 +99,6 @@ public:
template <typename IndexType> StorageEntry *find(const IndexType &ref); template <typename IndexType> StorageEntry *find(const IndexType &ref);
StorageEntry &insert(StorageEntry &&entry); StorageEntry &insert(StorageEntry &&entry);
void undo();
std::size_t erase(const Ref &ref); std::size_t erase(const Ref &ref);
std::size_t clear(const Storage &storage); std::size_t clear(const Storage &storage);
iterator begin(); 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) template <typename StorageEntryType> inline std::size_t StorageCacheEntries<StorageEntryType>::erase(const Ref &ref)
{ {
return m_entries.template get<typename StorageEntryType::Ref>().erase(ref); return m_entries.template get<typename StorageEntryType::Ref>().erase(ref);