forked from bartvdbraak/blender
Removing SWAP macro define from BLI_heap.c, already present in BLI_utildefines.h, giving compile error.
This commit is contained in:
parent
e3df2697c3
commit
51c553befb
@ -54,8 +54,6 @@ struct Heap {
|
||||
HeapNode **tree;
|
||||
};
|
||||
|
||||
#define SWAP(type, a, b) \
|
||||
{ type sw_ap; sw_ap = (a); (a) = (b); (b) = sw_ap; }
|
||||
#define HEAP_PARENT(i) ((i - 1) >> 1)
|
||||
#define HEAP_LEFT(i) ((i << 1) + 1)
|
||||
#define HEAP_RIGHT(i) ((i << 1) + 2)
|
||||
|
Loading…
Reference in New Issue
Block a user