diff BitDecoder.hpp @ 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.hpp	Fri Sep 14 21:10:03 2012 +0200
+++ b/BitDecoder.hpp	Fri Sep 14 22:50:45 2012 +0200
@@ -19,7 +19,8 @@
   {
     //Data is always stored in a leaf node.
     if (high) {
-      return (bits.testBit(offset) ? high : low)->decode(resString, bits, offset + 1) + 1;
+      return (bits.testBit(offset) ? high : low)->
+	decode(resString, bits, offset + 1) + 1;
     }
     else {
       resString.append(_data);
@@ -38,7 +39,8 @@
     uint n = bits.size();
     //Just a qualified overestimate guess on what we will need.
     combined.reserve(n/4);
-    for (uint decodedBits = 0; decodedBits < n; decodedBits += decode(combined, bits, decodedBits) - 1);
+    for (uint decodedBits = 0; decodedBits < n;
+	 decodedBits += decode(combined, bits, decodedBits) - 1);
     combined.squeeze();
     return combined;
   }