From 829f4306e6f815925d5da88f59bb4ae2918965a8 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Tue, 9 May 2017 16:08:46 +0200 Subject: [PATCH] add const to lmdb::dbi::get (for consistency) --- lmdb++.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmdb++.h b/lmdb++.h index ab75f8c..e233ae8 100644 --- a/lmdb++.h +++ b/lmdb++.h @@ -1523,7 +1523,7 @@ class lmdb::dbi { */ bool get(MDB_txn* const txn, const val& key, - val& data) { + val& data) const { return lmdb::dbi_get(txn, handle(), key, data); }