mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-19 19:39:26 +08:00
mdbx++: enables C++ API for amalgamated source code.
Change-Id: Ie73f32ee6b9a565eee69fa7267798a0fd67db4b0
This commit is contained in:
3
mdbx.h++
3
mdbx.h++
@@ -33,7 +33,6 @@
|
||||
#include <cassert> // for assert()
|
||||
#include <cstring> // for std::strlen, str:memcmp
|
||||
#include <exception> // for std::exception_ptr
|
||||
#include <memory> // for std::uniq_ptr
|
||||
#include <ostream> // for std::ostream
|
||||
#include <sstream> // for std::ostringstream
|
||||
#include <stdexcept> // for std::invalid_argument
|
||||
@@ -2220,7 +2219,7 @@ public:
|
||||
/// pages) in bytes.
|
||||
size_t size_current() const {
|
||||
assert(is_readwrite());
|
||||
return get_info().txn_space_dirty;
|
||||
return size_t(get_info().txn_space_dirty);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user