name_lengths std::vector --> stxxl::vector

This commit is contained in:
rparanjpe
2015-12-15 19:12:33 -08:00
parent 63a59325f5
commit 5c3398c280
4 changed files with 14 additions and 10 deletions
+2 -1
View File
@@ -35,6 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <fstream>
#include <vector>
#include <array>
#include <stxxl/vector>
/*
* These pre-declarations are needed because parsing C++ is hard
@@ -82,7 +83,7 @@ template <unsigned BLOCK_SIZE, bool USE_SHARED_MEMORY> class RangeTable
}
// construct table from length vector
explicit RangeTable(const std::vector<unsigned> &lengths)
explicit RangeTable(const stxxl::vector<unsigned> &lengths)
{
const unsigned number_of_blocks = [&lengths]()
{