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:
authorJacques Lucke <mail@jlucke.com>2020-02-07 19:23:25 +0300
committerJacques Lucke <mail@jlucke.com>2020-02-07 19:23:25 +0300
commitc2e80cfaa302e666421a8adee8d2b25a69d0700e (patch)
tree04340524c5a7de26e84b44f9e2cda75bdebc8fce /source/blender/blenlib/BLI_allocator.h
parentf3db5a0965902db622ea291850a1b815eda9d288 (diff)
BLI: add index_range method to some data structures
This can be used to iterate over all indices with less code.
Diffstat (limited to 'source/blender/blenlib/BLI_allocator.h')
-rw-r--r--source/blender/blenlib/BLI_allocator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_allocator.h b/source/blender/blenlib/BLI_allocator.h
index 52fa8d2b705..82cf76e425c 100644
--- a/source/blender/blenlib/BLI_allocator.h
+++ b/source/blender/blenlib/BLI_allocator.h
@@ -30,6 +30,7 @@
*/
#include <stdlib.h>
+#include <algorithm>
#include "MEM_guardedalloc.h"