aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-11-23 19:19:56 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-12-31 09:05:51 +0100
commitfaf4aa2f47c0de4f3a0c5f5fe5b3ec32f611eefd (patch)
treedf1068b4006aeb8d7ba2a63ff697e39e22972c10 /src/bench
parentfada14b948cac147198e3b685b5dd8cb72dc2911 (diff)
Remove CDataStream::Init in favor of C++11 member initialization
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/prevector.cpp2
1 files changed, 1 insertions, 1 deletions
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();
});
}