1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed dictionary move constructor

This commit is contained in:
Brian Fiete 2022-04-28 15:01:59 -07:00
parent fdb4d7bbb5
commit 9860ef1cb3

View file

@ -389,12 +389,19 @@ public:
Dictionary(Dictionary&& val) Dictionary(Dictionary&& val)
{ {
mAllocSize = val.mAllocSize;
mCount = val.mCount;
mBuckets = val.mBuckets; mBuckets = val.mBuckets;
mEntries = val.mEntries; mEntries = val.mEntries;
mFreeCount = val.mFreeCount; mAllocSize = val.mAllocSize;
mCount = val.mCount;
mFreeList = val.mFreeList; mFreeList = val.mFreeList;
mFreeCount = val.mFreeCount;
val.mBuckets = NULL;
val.mEntries = NULL;
val.mAllocSize = 0;
val.mCount = 0;
val.mFreeList = 0;
val.mFreeCount = 0;
} }
~Dictionary() ~Dictionary()