mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
ircd::db: Adjust txn seq_closure to take seqnum reference.
This commit is contained in:
parent
ce715f62c7
commit
301b1d684b
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ namespace ircd::db
|
|||
void for_each(const txn &, const std::function<void (const delta &)> &);
|
||||
std::string debug(const txn &);
|
||||
|
||||
using seq_closure_bool = std::function<bool (txn &, uint64_t)>;
|
||||
using seq_closure = std::function<void (txn &, uint64_t)>;
|
||||
using seq_closure_bool = std::function<bool (txn &, const uint64_t &)>;
|
||||
using seq_closure = std::function<void (txn &, const uint64_t &)>;
|
||||
bool for_each(database &d, const uint64_t &seq, const seq_closure_bool &);
|
||||
void for_each(database &d, const uint64_t &seq, const seq_closure &);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue