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 f6f546c90b9..0e878d549c1 100644
--- a/source/blender/blenlib/BLI_vector.hh
+++ b/source/blender/blenlib/BLI_vector.hh
@@ -963,7 +963,7 @@ class Vector {
}
/* At least double the size of the previous allocation. Otherwise consecutive calls to grow can
- * cause a reallocation every time even though min_capacity only increments. */
+ * cause a reallocation every time even though min_capacity only increments. */
const int64_t min_new_capacity = this->capacity() * 2;
const int64_t new_capacity = std::max(min_capacity, min_new_capacity);