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:
Diffstat (limited to 'source/blender/blenlib/BLI_vector.hh')
-rw-r--r--source/blender/blenlib/BLI_vector.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_vector.hh b/source/blender/blenlib/BLI_vector.hh
index 06bafce2dd0..392b6cd9f47 100644
--- a/source/blender/blenlib/BLI_vector.hh
+++ b/source/blender/blenlib/BLI_vector.hh
@@ -589,7 +589,7 @@ class Vector {
catch (...) {
/* Destruct all values that have been moved already. */
destruct_n(begin_ + dst_index + 1, i);
- end_ = begin_ + src_index;
+ end_ = begin_ + src_index + 1;
UPDATE_VECTOR_SIZE(this);
throw;
}