mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 16:48:55 +02:00
remove dupe const
This commit is contained in:
parent
a40244b5d2
commit
572edab79f
2 changed files with 2 additions and 2 deletions
|
@ -12,6 +12,8 @@
|
||||||
#ifndef hifi_BitVectorHelpers_h
|
#ifndef hifi_BitVectorHelpers_h
|
||||||
#define hifi_BitVectorHelpers_h
|
#define hifi_BitVectorHelpers_h
|
||||||
|
|
||||||
|
#include "NumericalConstants.h"
|
||||||
|
|
||||||
int calcBitVectorSize(int numBits) {
|
int calcBitVectorSize(int numBits) {
|
||||||
return ((numBits - 1) >> 3) + 1;
|
return ((numBits - 1) >> 3) + 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,8 +20,6 @@
|
||||||
|
|
||||||
QTEST_MAIN(BitVectorHelperTests)
|
QTEST_MAIN(BitVectorHelperTests)
|
||||||
|
|
||||||
const int BITS_IN_BYTE = 8;
|
|
||||||
|
|
||||||
void BitVectorHelperTests::sizeTest() {
|
void BitVectorHelperTests::sizeTest() {
|
||||||
std::vector<int> sizes = {0, 6, 7, 8, 30, 31, 32, 33, 87, 88, 89, 90, 90, 91, 92, 93};
|
std::vector<int> sizes = {0, 6, 7, 8, 30, 31, 32, 33, 87, 88, 89, 90, 90, 91, 92, 93};
|
||||||
for (auto& size : sizes) {
|
for (auto& size : sizes) {
|
||||||
|
|
Loading…
Reference in a new issue