From 5c2b3cd4b856f1bb536daaf7f576b1b1b42293ca Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Sat, 9 Sep 2023 13:30:50 +0200 Subject: dbwrapper: Use DataStream for batch operations --- src/dbwrapper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dbwrapper.h') diff --git a/src/dbwrapper.h b/src/dbwrapper.h index 2f7448e878..63c2f99d2a 100644 --- a/src/dbwrapper.h +++ b/src/dbwrapper.h @@ -80,11 +80,11 @@ private: const std::unique_ptr m_impl_batch; DataStream ssKey{}; - CDataStream ssValue; + DataStream ssValue{}; size_t size_estimate{0}; - void WriteImpl(Span key, CDataStream& ssValue); + void WriteImpl(Span key, DataStream& ssValue); void EraseImpl(Span key); public: -- cgit v1.2.3