From faf4aa2f47c0de4f3a0c5f5fe5b3ec32f611eefd Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 23 Nov 2020 19:19:56 +0100 Subject: Remove CDataStream::Init in favor of C++11 member initialization --- src/bench/prevector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bench') diff --git a/src/bench/prevector.cpp b/src/bench/prevector.cpp index a2dbefa54a..924b6c0f5a 100644 --- a/src/bench/prevector.cpp +++ b/src/bench/prevector.cpp @@ -84,7 +84,7 @@ static void PrevectorDeserialize(benchmark::Bench& bench) for (auto x = 0; x < 1000; ++x) { s0 >> t1; } - s0.Init(SER_NETWORK, 0); + s0.Rewind(); }); } -- cgit v1.2.3