diff --git a/lmdb-typed.hh b/lmdb-typed.hh index 177a03f..dd6f9bf 100644 --- a/lmdb-typed.hh +++ b/lmdb-typed.hh @@ -876,7 +876,6 @@ public: throw LMDBError("Could not modify id " + std::to_string(id)); } func(t); - del(id); // this is the lazy way. We could test for changed index fields put(t, id); } void modify(IDType id, const std::function &func)