Skip to content
This repository was archived by the owner on Aug 10, 2025. It is now read-only.

Commit 87465c6

Browse files
committed
Change binarytree multi index to use stx::btree.
1 parent f39751d commit 87465c6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/ee/indexes/BinaryTreeMultiMapIndex.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#include <iostream>
5151
#include "indexes/tableindex.h"
5252
#include "common/tabletuple.h"
53-
#include "stx/btree_map.h"
53+
#include "stx/btree_multimap.h"
5454

5555
namespace voltdb {
5656

@@ -67,7 +67,8 @@ class BinaryTreeMultiMapIndex : public TableIndex
6767

6868
//typedef std::multimap<KeyType, const void*, KeyComparator> MapType;
6969
typedef h_index::AllocatorTracker<pair<const KeyType, const void*> > AllocatorType;
70-
typedef std::multimap<KeyType, const void*, KeyComparator, AllocatorType> MapType;
70+
//typedef std::multimap<KeyType, const void*, KeyComparator, AllocatorType> MapType;
71+
typedef stx::btree_multimap<KeyType, const void*, KeyComparator, stx::btree_default_map_traits<KeyType, const void*>, AllocatorType> MapType;
7172
typedef typename MapType::const_iterator MMCIter;
7273
typedef typename MapType::iterator MMIter;
7374
typedef typename MapType::const_reverse_iterator MMCRIter;

0 commit comments

Comments
 (0)