diff --git a/mdbx.h++ b/mdbx.h++ index a87877fd..8390dcfa 100644 --- a/mdbx.h++ +++ b/mdbx.h++ @@ -3606,8 +3606,7 @@ public: inline MDBX_error_t put(map_handle map, const slice &key, slice *value, MDBX_put_flags_t flags) noexcept; - inline void put(map_handle map, const slice &key, slice value, - put_mode mode) noexcept; + inline void put(map_handle map, const slice &key, slice value, put_mode mode); inline void insert(map_handle map, const slice &key, slice value); inline value_result try_insert(map_handle map, const slice &key, slice value); inline slice insert_reserve(map_handle map, const slice &key, @@ -5166,7 +5165,7 @@ inline MDBX_error_t txn::put(map_handle map, const slice &key, slice *value, } inline void txn::put(map_handle map, const slice &key, slice value, - put_mode mode) noexcept { + put_mode mode) { error::success_or_throw(put(map, key, &value, MDBX_put_flags_t(mode))); }