File tree Expand file tree Collapse file tree 2 files changed +4
-96
lines changed
Expand file tree Collapse file tree 2 files changed +4
-96
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616
1717#include < boost/container_hash/hash.hpp>
1818
19- #include < thrift/lib/cpp/DistinctTable.h>
19+ #include < dwarfs/internal/flat_dense_value_index.h>
20+
2021#include < thrift/lib/thrift/gen-cpp-lite/frozen_types.h>
2122
2223#define THRIFT_DECLARE_HASH (T ) \
@@ -203,12 +204,12 @@ class MemorySchema {
203204 // Add helper structures here to help minimize size of schema during
204205 // save() operations.
205206 public:
206- explicit Helper (MemorySchema& schema) : layoutTable_(& schema.layouts) {}
207+ explicit Helper (MemorySchema& schema) : layoutTable_{ schema.layouts } {}
207208
208209 int16_t add (MemoryLayout&& layout);
209210
210211 private:
211- DistinctTable <MemoryLayout> layoutTable_;
212+ dwarfs::internal::flat_dense_value_index <MemoryLayout> layoutTable_;
212213 };
213214
214215 void initFromSchema (Schema&& schema);
You can’t perform that action at this time.
0 commit comments