aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-01-24 20:24:44 -0800
committerAlexander Blair <snipa@jagtech.io>2020-01-24 20:24:44 -0800
commit59e7d5686b9046f5892c4aad4e90ef810110d252 (patch)
tree3ff63cfb49178a3f18b1fc92d02a5999d7f86a92
parentMerge pull request #6300 (diff)
parentlmdb: Remove meaningless const qualifier on function type (diff)
downloadmonero-59e7d5686b9046f5892c4aad4e90ef810110d252.tar.xz
Merge pull request #6093
2e58eb5c lmdb: Remove meaningless const qualifier on function type (Nathan Dorfman)
-rw-r--r--src/lmdb/table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lmdb/table.h b/src/lmdb/table.h
index 41a3de296..4ded4ba54 100644
--- a/src/lmdb/table.h
+++ b/src/lmdb/table.h
@@ -15,8 +15,8 @@ namespace lmdb
{
char const* const name;
const unsigned flags;
- MDB_cmp_func const* const key_cmp;
- MDB_cmp_func const* const value_cmp;
+ MDB_cmp_func* const key_cmp;
+ MDB_cmp_func* const value_cmp;
//! \pre `name != nullptr` \return Open table.
expect<MDB_dbi> open(MDB_txn& write_txn) const noexcept;