diff options
Diffstat (limited to 'src/BitfieldMan.h')
| -rw-r--r-- | src/BitfieldMan.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/BitfieldMan.h b/src/BitfieldMan.h index c08812e8..912702e2 100644 --- a/src/BitfieldMan.h +++ b/src/BitfieldMan.h @@ -92,6 +92,11 @@ public: bool operator<(const Range& range) const { return getSize() < range.getSize(); } + + bool operator==(const Range& range) const + { + return getSize() == range.getSize(); + } }; public: BitfieldMan(size_t blockLength, uint64_t totalLength); @@ -144,6 +149,7 @@ public: // affected by filter bool getSparseMissingUnusedIndex (size_t& index, + size_t minSplitSize, const unsigned char* ignoreBitfield, size_t ignoreBitfieldLength) const; |
