diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-07-05 19:59:32 -1100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-07-05 19:59:35 -1100 |
commit | 0212187fc624ea4a02fc99bc57ebd413499a9ee1 (patch) | |
tree | 96a699d1140606a23b0cbbfad8aba626e614b4de /test/util | |
parent | 287e4edc2fd2514a0095273f01fe66b85ce10856 (diff) | |
parent | 1fc605a8aea247b2d5776c22b3e187d1b190fd99 (diff) | |
download | bitcoin-0212187fc624ea4a02fc99bc57ebd413499a9ee1.tar.xz |
Merge #13598: bench: fix incorrect behaviour in prevector.cpp
1fc605a8ae fix bench/prevector.cpp (Akio Nakamura)
Pull request description:
This patch intends to fix some incorrect action of bench/prevector.cpp.
1. PrevectorClear()
2nd call of ```clear()``` should to operate t1 instead of t0.
This patch changes t0 to t1.
2. PREVECTOR_TEST()
PREVECTOR_TEST macro should to call both
```PrevectorXX<nontrivial_t>(state)``` and ```PrevectorXX<trivial_t>(state)```
by specific ```"name"``` which given by parameter instead of calling
```PrevectorResize<>()``` regardless of ```"name"```.
This patch changes ```"PrevectorResize<"``` of this macro to
```"Prevector ## name<"```.
Tree-SHA512: d0498c6d627d7e96fc8ccfb329ca0be2641535b1ce1923d9b1fc720825f9bf4d7281dc8d5ae929038e37b3e625189af9807cb62e6d20933d73832a6dff4b5596
Diffstat (limited to 'test/util')
0 files changed, 0 insertions, 0 deletions