Fix various code issues found using PVS-Studio

This commit is contained in:
Wojtek Figat
2024-08-22 20:24:52 +02:00
parent 3ecb7c1d81
commit 23f60da40d
11 changed files with 49 additions and 7 deletions

View File

@@ -329,6 +329,13 @@ public:
return *this;
}
Iterator& operator=(Iterator&& v)
{
_collection = v._collection;
_index = v._index;
return *this;
}
Iterator& operator++()
{
const int32 capacity = _collection->_size;