Skip to content

Commit

Permalink
Change binarytree multi index to use stx::btree.
Browse files Browse the repository at this point in the history
  • Loading branch information
linmagit committed Sep 13, 2015
1 parent f39751d commit 87465c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ee/indexes/BinaryTreeMultiMapIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#include <iostream>
#include "indexes/tableindex.h"
#include "common/tabletuple.h"
#include "stx/btree_map.h"
#include "stx/btree_multimap.h"

namespace voltdb {

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

//typedef std::multimap<KeyType, const void*, KeyComparator> MapType;
typedef h_index::AllocatorTracker<pair<const KeyType, const void*> > AllocatorType;
typedef std::multimap<KeyType, const void*, KeyComparator, AllocatorType> MapType;
//typedef std::multimap<KeyType, const void*, KeyComparator, AllocatorType> MapType;
typedef stx::btree_multimap<KeyType, const void*, KeyComparator, stx::btree_default_map_traits<KeyType, const void*>, AllocatorType> MapType;
typedef typename MapType::const_iterator MMCIter;
typedef typename MapType::iterator MMIter;
typedef typename MapType::const_reverse_iterator MMCRIter;
Expand Down

0 comments on commit 87465c6

Please sign in to comment.