Mercurial > dedupe
diff BitDecoder.cpp @ 64:b9515dc35fe4
Make sure no file has greater linewidth than 80.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Fri, 14 Sep 2012 22:50:45 +0200 |
| parents | f8d0ea827db3 |
| children |
line wrap: on
line diff
--- a/BitDecoder.cpp Fri Sep 14 21:10:03 2012 +0200 +++ b/BitDecoder.cpp Fri Sep 14 22:50:45 2012 +0200 @@ -2,7 +2,8 @@ #include "Exception/InvalidDataException.hpp" -BitDecoder::BitDecoder(BitDecoder* low_in, BitDecoder* high_in) : low(low_in), high(high_in) +BitDecoder::BitDecoder(BitDecoder* low_in, BitDecoder* high_in) + : low(low_in), high(high_in) { } @@ -26,21 +27,6 @@ return new BitDecoder(low, high); } -/* -QBitArray BitDecoder::unite(const QBitArray& first, const QBitArray& second) -{ - QBitArray result(first.size() + second.size()); - int n = first.size(); - for (int i = 0; i < n; ++i) { - result[i] = first[i]; - } - for (int i = 0; i < second.size(); ++i) { - result[n + i] = second[i]; - } - return result; -} -*/ - QMap<QString, BitArray> BitDecoder::createEncoder() const { QMap<QString, BitArray> retVal;
