1
0
Fork 0
forked from blue/lmdbal

Cursors refactoring part one

This commit is contained in:
Blue 2024-12-25 19:19:32 +02:00
parent ef86d0adf9
commit bfb1d007ad
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
19 changed files with 824 additions and 677 deletions

View file

@ -18,6 +18,8 @@
#include "transaction.h"
#include "cursorcommon.h"
/**
* \class LMDBAL::Transaction
* \brief Public read only transaction
@ -131,7 +133,7 @@ void LMDBAL::Transaction::reset() {
* \brief Closes attached curors;
*/
void LMDBAL::Transaction::closeCursors () {
for (const std::pair<const uint32_t, iCursor*>& pair : cursors)
for (const std::pair<const uint32_t, CursorCommon*>& pair : cursors)
pair.second->terminated();
}