Fixed error in last commit
[SXSI/XMLTree.git] / libcds / src / static_bitsequence / static_bitsequence_brw32.h
index 50ea7b4..64fcf1b 100644 (file)
@@ -46,7 +46,7 @@
 class static_bitsequence_brw32 : public static_bitsequence {
 private:
        uint *data;
-  bool owner;
+  //bool owner;
        uint n,integers;
   uint factor,b,s;
   uint *Rs; //superblock array
@@ -64,6 +64,7 @@ public:
   uint prev(uint start); // gives the largest index i<=start such that IsBitSet(i)=true
   uint prev2(uint start); // gives the largest index i<=start such that IsBitSet(i)=true
   uint next(uint start); // gives the smallest index i>=start such that IsBitSet(i)=true
+  virtual uint select0(uint x); // gives the position of the x:th 1.
   virtual uint select1(uint x); // gives the position of the x:th 1.
   uint SpaceRequirementInBits();
   uint SpaceRequirement();
@@ -75,4 +76,3 @@ public:
 };
 
 #endif
-