mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-19 19:39:26 +08:00
mdbx: добавление mdbx_cursor_close2()
в API.
This commit is contained in:
5
mdbx.h++
5
mdbx.h++
@@ -4545,7 +4545,10 @@ public:
|
||||
}
|
||||
|
||||
/// \brief Explicitly closes the cursor.
|
||||
void close();
|
||||
inline void close() {
|
||||
error::success_or_throw(::mdbx_cursor_close2(handle_));
|
||||
handle_ = nullptr;
|
||||
}
|
||||
|
||||
cursor_managed(cursor_managed &&) = default;
|
||||
cursor_managed &operator=(cursor_managed &&other) noexcept {
|
||||
|
Reference in New Issue
Block a user