remove dupe const

This commit is contained in:
Andrew Meadows 2018-02-07 16:48:31 -08:00
parent a40244b5d2
commit 572edab79f
2 changed files with 2 additions and 2 deletions

View file

@ -12,6 +12,8 @@
#ifndef hifi_BitVectorHelpers_h
#define hifi_BitVectorHelpers_h
#include "NumericalConstants.h"
int calcBitVectorSize(int numBits) {
return ((numBits - 1) >> 3) + 1;
}

View file

@ -20,8 +20,6 @@
QTEST_MAIN(BitVectorHelperTests)
const int BITS_IN_BYTE = 8;
void BitVectorHelperTests::sizeTest() {
std::vector<int> sizes = {0, 6, 7, 8, 30, 31, 32, 33, 87, 88, 89, 90, 90, 91, 92, 93};
for (auto& size : sizes) {