Skip to content

Commit 88ee7c4

Browse files
VariableSizeAllocationsManager: clear block maps in move ctor
1 parent cc5c5c1 commit 88ee7c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Graphics/GraphicsAccessories/interface/VariableSizeAllocationsManager.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ class VariableSizeAllocationsManager
158158
#endif
159159
{
160160
// clang-format on
161+
rhs.m_FreeBlocksByOffset.clear();
162+
rhs.m_FreeBlocksBySize.clear();
161163
rhs.m_MaxSize = 0;
162164
rhs.m_FreeSize = 0;
163165
rhs.m_CurrAlignment = 0;

0 commit comments

Comments
 (0)