Cleanup: remove unnecessary code
This got committed due to a stupid mistake of mine, it does not belong there at all.
This commit is contained in:
parent
ee61c1fe22
commit
2797a63a66
Notes:
blender-bot
2023-02-14 09:24:53 +01:00
Referenced by issue #78004, Instant crash when Shift+D duplicating a Collection Instance
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue