diff --git a/mdbx.h++ b/mdbx.h++ index 36621791..7934a270 100644 --- a/mdbx.h++ +++ b/mdbx.h++ @@ -6415,6 +6415,12 @@ template <> struct hash<::mdbx::slice> { MDBX_CXX14_CONSTEXPR size_t operator()(::mdbx::slice const &slice) const noexcept { return slice.hash_value(); } }; +template struct hash<::mdbx::buffer> { + MDBX_CXX14_CONSTEXPR size_t operator()(::mdbx::buffer const &buffer) const noexcept { + return buffer.hash_value(); + } +}; + /// end cxx_api @} } // namespace std