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:
Jacques Lucke 2020-06-15 12:33:37 +02:00
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
1 changed files with 0 additions and 2 deletions

View File

@ -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)