mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-16 13:57:05 +08:00
fixed redefinition error on clang with musl
This commit is contained in:
@@ -15,12 +15,6 @@ using zxing::BitArray;
|
|||||||
using zxing::ErrorHandler;
|
using zxing::ErrorHandler;
|
||||||
using zxing::Ref;
|
using zxing::Ref;
|
||||||
|
|
||||||
#if __WORDSIZE == 64
|
|
||||||
// typedef long int int64_t;
|
|
||||||
#else
|
|
||||||
typedef long long int int64_t;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
BitArray::BitArray(int size_) : size(size_), bits(size_), nextSets(size_), nextUnSets(size_) {}
|
BitArray::BitArray(int size_) : size(size_), bits(size_), nextSets(size_), nextUnSets(size_) {}
|
||||||
|
|
||||||
void BitArray::setUnchar(int i, unsigned char newBits) { bits[i] = newBits; }
|
void BitArray::setUnchar(int i, unsigned char newBits) { bits[i] = newBits; }
|
||||||
|
Reference in New Issue
Block a user