summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/bitvector
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-12-21 12:27:11 +0000
committerGeir Storli <geirst@yahooinc.com>2022-12-21 12:28:17 +0000
commitb65ada009591fc728058f3993e31315ed592fe42 (patch)
tree58860909cfe3c3eb3cc7ac83800dc6e3b5dfa6d6 /searchlib/src/tests/bitvector
parent958cc2a655735beca465a080e202fdf35b1e0772 (diff)
Change from typedef to using in searchlib C++ code.
Diffstat (limited to 'searchlib/src/tests/bitvector')
-rw-r--r--searchlib/src/tests/bitvector/bitvectorbenchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/bitvector/bitvectorbenchmark.cpp b/searchlib/src/tests/bitvector/bitvectorbenchmark.cpp
index 26b0ccff656..266241adf59 100644
--- a/searchlib/src/tests/bitvector/bitvectorbenchmark.cpp
+++ b/searchlib/src/tests/bitvector/bitvectorbenchmark.cpp
@@ -152,7 +152,7 @@ BitVectorBenchmark::testCountSpeed3()
void BitVectorBenchmark::testOrSpeed2()
{
- typedef uint64_t T;
+ using T = uint64_t;
T * a = reinterpret_cast<T *>(_bv[0]->getStart());
const T * b = reinterpret_cast<const T *>(_bv[1]->getStart());
size_t sz = _bv[0]->size()/(8*sizeof(*a));