From d2911124f42fd58d42b1b734c852980d5dbde401 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 7 Sep 2020 19:36:24 +0200 Subject: BLI: improve exception safety of VectorSet For more information see rB2aff45146f1464ba8899368ad004522cb6a1a98c. --- source/blender/blenlib/BLI_array.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenlib/BLI_array.hh') 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 -- cgit v1.2.3