some thoughts about cursors, nothing special yet
This commit is contained in:
parent
69bf1fcc3d
commit
5fba60f7f0
4 changed files with 144 additions and 11 deletions
|
@ -54,7 +54,10 @@ LMDBAL::Storage<K, V>::Storage(const std::string& _name, Base* parent):
|
|||
* \brief Destroys a storage
|
||||
*/
|
||||
template<class K, class V>
|
||||
LMDBAL::Storage<K, V>::~Storage() {}
|
||||
LMDBAL::Storage<K, V>::~Storage() {
|
||||
for (Cursor<K, V>* cursor : cursors)
|
||||
delete cursor;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Adds a key-value record to the storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue