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 <jacques@blender.org>2020-09-07 20:36:24 +0300
committerJacques Lucke <jacques@blender.org>2020-09-07 21:04:00 +0300
commitd2911124f42fd58d42b1b734c852980d5dbde401 (patch)
tree4849cefd96ace6d618c7fb8278738e9463aa395f /source/blender/blenlib/BLI_array.hh
parent6b436b80a45c947d49ab5fbda515fb02877eefd4 (diff)
BLI: improve exception safety of VectorSet
For more information see rB2aff45146f1464ba8899368ad004522cb6a1a98c.
Diffstat (limited to 'source/blender/blenlib/BLI_array.hh')
-rw-r--r--source/blender/blenlib/BLI_array.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_array.hh b/source/blender/blenlib/BLI_array.hh
index dddf4f64ff5..8a7dcb7ffaa 100644
--- a/source/blender/blenlib/BLI_array.hh
+++ b/source/blender/blenlib/BLI_array.hh
@@ -353,6 +353,10 @@ class Array {
{
return allocator_;
}
+ const Allocator &allocator() const
+ {
+ return allocator_;
+ }
/**
* Get the value of the InlineBufferCapacity template argument. This is the number of elements