Merge branch 'master' into x86_64
This commit is contained in:
@@ -19,6 +19,7 @@ extern "C" {
|
||||
debug_alloc_pool* create_debug_alloc_pool();
|
||||
void delete_debug_alloc_pool(debug_alloc_pool* pool);
|
||||
void* debug_malloc(size_t size);
|
||||
void* debug_calloc(size_t num, size_t size);
|
||||
void debug_free(void* address);
|
||||
void debug_heap_init();
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace AVLTreeMapStrategy {
|
||||
typename Node;
|
||||
inline Node* Allocate(const Key& key, const Value& value)
|
||||
inline void Free(Node* node)
|
||||
inline Key GetKey(Node* node) const
|
||||
inline const Key GetKey(const Node* node) const
|
||||
inline Value& GetValue(Node* node) const
|
||||
inline AVLTreeNode* GetAVLTreeNode(Node* node) const
|
||||
inline Node* GetNode(AVLTreeNode* node) const
|
||||
@@ -622,7 +622,7 @@ public:
|
||||
fAllocator.Deallocate(node);
|
||||
}
|
||||
|
||||
inline Key& GetKey(Node* node) const
|
||||
inline const Key& GetKey(const Node* node) const
|
||||
{
|
||||
return node->key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user