Merge pull request #6093

2e58eb5c lmdb: Remove meaningless const qualifier on function type (Nathan Dorfman)
This commit is contained in:
Alexander Blair 2020-01-24 20:24:44 -08:00
commit 59e7d5686b
No known key found for this signature in database
GPG key ID: C64552D877C32479

View file

@ -15,8 +15,8 @@ namespace lmdb
{ {
char const* const name; char const* const name;
const unsigned flags; const unsigned flags;
MDB_cmp_func const* const key_cmp; MDB_cmp_func* const key_cmp;
MDB_cmp_func const* const value_cmp; MDB_cmp_func* const value_cmp;
//! \pre `name != nullptr` \return Open table. //! \pre `name != nullptr` \return Open table.
expect<MDB_dbi> open(MDB_txn& write_txn) const noexcept; expect<MDB_dbi> open(MDB_txn& write_txn) const noexcept;