mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Use DataStream where possible
This commit is contained in:
parent
fa9becfe1c
commit
fa29e73cda
48 changed files with 144 additions and 151 deletions
|
|
@ -61,7 +61,7 @@ static void PrevectorResize(benchmark::Bench& bench)
|
|||
template <typename T>
|
||||
static void PrevectorDeserialize(benchmark::Bench& bench)
|
||||
{
|
||||
CDataStream s0(SER_NETWORK, 0);
|
||||
DataStream s0{};
|
||||
prevector<28, T> t0;
|
||||
t0.resize(28);
|
||||
for (auto x = 0; x < 900; ++x) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue