8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:03:04 +01:00
This commit is contained in:
robocop 2009-04-24 15:25:14 +00:00
parent 3fc24f4d4a
commit 0c0c00386e

View File

@ -108,8 +108,8 @@ template <typename Value, typename Key = Value, typename Allocator = MallocAlloc
typename Cmp = DefaultComparator<Key> >
class BePlusTree
{
static const int LeafCount = LEAF_PAGE_SIZE / sizeof(Value);
static const int NodeCount = NODE_PAGE_SIZE / sizeof(void*);
static const int LeafCount = LEAF_PAGE_SIZE / sizeof(Value);
static const int NodeCount = NODE_PAGE_SIZE / sizeof(void*);
public:
explicit BePlusTree(Allocator *_pool)
: pool(_pool), level(0), root(NULL), defaultAccessor(this)