From: Fred Morcos Date: Wed, 16 Oct 2024 13:47:19 +0000 (+0200) Subject: Cleanup struct nullindex_t X-Git-Tag: rec-5.2.0-alpha1~26^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eed3a8bba073bde8c50ea0108da1d7aa2a997d3;p=thirdparty%2Fpdns.git Cleanup struct nullindex_t --- diff --git a/ext/lmdb-safe/lmdb-typed.hh b/ext/lmdb-safe/lmdb-typed.hh index 8d7519baeb..c6e95dbac7 100644 --- a/ext/lmdb-safe/lmdb-typed.hh +++ b/ext/lmdb-safe/lmdb-typed.hh @@ -209,16 +209,15 @@ struct index_on_function : LMDBIndexOps - void put(MDBRWTransaction& /* txn */, const Class& /* t */, uint32_t /* id */, int /* flags */ =0) + template + void put(MDBRWTransaction& /* txn */, const Class& /* t */, uint32_t /* id */, int /* flags */ = 0) {} - template + template void del(MDBRWTransaction& /* txn */, const Class& /* t */, uint32_t /* id */) {} void openDB(std::shared_ptr& /* env */, string_view /* str */, int /* flags */) { - } using type = uint32_t; // dummy