aboutsummaryrefslogtreecommitdiff
path: root/src/dbwrapper.h
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2023-09-09 13:30:50 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-09-12 12:07:39 +0200
commit5c2b3cd4b856f1bb536daaf7f576b1b1b42293ca (patch)
tree8146ce8427c3c29edef7ca7dc139a5b2297d20f4 /src/dbwrapper.h
parentfd69ffbbfb3e08b474b33540e56cf4f81e5c21d4 (diff)
dbwrapper: Use DataStream for batch operations
Diffstat (limited to 'src/dbwrapper.h')
-rw-r--r--src/dbwrapper.h4
1 files changed, 2 insertions, 2 deletions
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<WriteBatchImpl> m_impl_batch;
DataStream ssKey{};
- CDataStream ssValue;
+ DataStream ssValue{};
size_t size_estimate{0};
- void WriteImpl(Span<const std::byte> key, CDataStream& ssValue);
+ void WriteImpl(Span<const std::byte> key, DataStream& ssValue);
void EraseImpl(Span<const std::byte> key);
public: