Remove use of ShM<>::vector in favour of the boost::iterator_range

This commit is contained in:
Daniel Patterson
2016-11-11 15:48:51 -08:00
parent 6949d7ee5b
commit e2e5eb0169
2 changed files with 25 additions and 14 deletions
+2 -1
View File
@@ -514,7 +514,8 @@ void Storage::LoadData(DataLayout *layout_ptr, char *memory_ptr)
name_file.readInto(reinterpret_cast<char *>(name_blocks_ptr),
layout_ptr->GetBlockSize(DataLayout::NAME_BLOCKS));
// For some reason, this value (the same as )
// The file format contains the element count a second time. Don't know why,
// but we need to read it here to progress the file pointer to the correct spot
const auto temp_count = name_file.readElementCount32();
const auto name_char_ptr =