diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-03-12 13:20:38 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-03-12 13:20:38 +0400 |
commit | 51c553befba6799b47df14902b93c652275cebee (patch) | |
tree | 3906995785fc731904a361423d0d10e69f6245a0 | |
parent | e3df2697c3470b64b51eea094867b23bf386a930 (diff) |
Removing SWAP macro define from BLI_heap.c, already present in BLI_utildefines.h, giving compile error.
-rw-r--r-- | source/blender/blenlib/intern/BLI_heap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_heap.c b/source/blender/blenlib/intern/BLI_heap.c index ea22ed0c4da..fa7b91b8539 100644 --- a/source/blender/blenlib/intern/BLI_heap.c +++ b/source/blender/blenlib/intern/BLI_heap.c @@ -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) |