[Bf-blender-cvs] [2797a63a660] master: Cleanup: remove unnecessary code
Jacques Lucke
noreply at git.blender.org
Mon Jun 15 12:37:58 CEST 2020
Commit: 2797a63a66061096b3fd63918f54648fdd5396c4
Author: Jacques Lucke
Date: Mon Jun 15 12:33:37 2020 +0200
Branches: master
https://developer.blender.org/rB2797a63a66061096b3fd63918f54648fdd5396c4
Cleanup: remove unnecessary code
This got committed due to a stupid mistake of mine, it does not belong
there at all.
===================================================================
M source/blender/blenlib/BLI_vector.hh
===================================================================
diff --git a/source/blender/blenlib/BLI_vector.hh b/source/blender/blenlib/BLI_vector.hh
index f61a3d4282b..25e3d2f969b 100644
--- a/source/blender/blenlib/BLI_vector.hh
+++ b/source/blender/blenlib/BLI_vector.hh
@@ -778,8 +778,6 @@ class Vector {
if (UNLIKELY(m_end >= m_capacity_end)) {
this->realloc_to_at_least(this->size() + 1);
}
- std::vector<int> a;
- a.push_back(4);
}
BLI_NOINLINE void realloc_to_at_least(uint min_capacity)
More information about the Bf-blender-cvs
mailing list