diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-09-12 19:46:15 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-09-12 19:46:31 +0300 |
commit | 3062f341b3d8ff82f0f0f5928818b74bfd8cf1e5 (patch) | |
tree | 740a971f53e4d6da75b2d877b0862faba3a76313 /source/blender | |
parent | 852c727073860173bc4de01ec08a4890e1d55bcc (diff) |
BLI: fix illegal zero sized array
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/intern/BLI_index_range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_index_range.cc b/source/blender/blenlib/intern/BLI_index_range.cc index 3dade791b71..fde4dcf6d41 100644 --- a/source/blender/blenlib/intern/BLI_index_range.cc +++ b/source/blender/blenlib/intern/BLI_index_range.cc @@ -24,7 +24,7 @@ namespace BLI { -static Vector<Array<uint, RawAllocator>, 0, RawAllocator> arrays; +static Vector<Array<uint, RawAllocator>, 1, RawAllocator> arrays; static uint current_array_size = 0; static uint *current_array = nullptr; static std::mutex current_array_mutex; |