mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:44:12 +08:00
mdbx++: устранение ложно-позитивного предупреждения новых версий GCC.
This commit is contained in:
parent
2abf80a199
commit
60b483025c
2
mdbx.h++
2
mdbx.h++
@ -5134,7 +5134,7 @@ inline filehandle env::get_filehandle() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline MDBX_env_flags_t env::get_flags() const {
|
inline MDBX_env_flags_t env::get_flags() const {
|
||||||
unsigned bits;
|
unsigned bits = 0;
|
||||||
error::success_or_throw(::mdbx_env_get_flags(handle_, &bits));
|
error::success_or_throw(::mdbx_env_get_flags(handle_, &bits));
|
||||||
return MDBX_env_flags_t(bits);
|
return MDBX_env_flags_t(bits);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user