Permalink
Browse files

Make ShefLM compile

  • Loading branch information...
1 parent 13974bc commit 3788a90626251bbca562841b943d6c86f36b7f12 Kenneth Heafield committed Mar 27, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/FingerPrintStore.h
  2. +2 −2 src/main.cpp
@@ -132,7 +132,7 @@ FingerPrintStore::FingerPrintStore(const uint64_t & numberOfElements, const unsi
if (bits_per_fingerprint>32) {cerr<< "bits per fingerprint must be 32 bits or less because of the hash function used" <<endl; exit(1);}
cerr << "Creating Hash Storage with " << bits_per_fingerprint <<" bits per fingerprint" <<endl;
- boost::shared_ptr<bitarray> sbr_ptr(new bitarray(totalNumberOfBits));
+ boost::shared_ptr<boost::dynamic_bitset<> > sbr_ptr(new boost::dynamic_bitset<>(totalNumberOfBits));
store.reset(new CompactStore(sbr_ptr,finger_print_size));
}
View
@@ -24,7 +24,7 @@
-/*
+
#include <iostream>
#include <sstream>
#include <fstream>
@@ -244,4 +244,4 @@ int main(int argc, char **argv){
return 0;
}
-*/
+

0 comments on commit 3788a90

Please sign in to comment.