Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-03-12 13:20:38 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-03-12 13:20:38 +0400
commit51c553befba6799b47df14902b93c652275cebee (patch)
tree3906995785fc731904a361423d0d10e69f6245a0 /source/blender/blenlib
parente3df2697c3470b64b51eea094867b23bf386a930 (diff)
Removing SWAP macro define from BLI_heap.c, already present in BLI_utildefines.h, giving compile error.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/BLI_heap.c2
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)