Collections iterator move noexcept fix

This commit is contained in:
Mateusz Karbowiak
2024-10-31 00:19:12 +01:00
parent 8cb7fb48ce
commit 66b6a29ed4
2 changed files with 4 additions and 4 deletions

View File

@@ -270,7 +270,7 @@ public:
{
}
Iterator(Iterator&& i)
Iterator(Iterator&& i) noexcept
: _collection(i._collection)
, _index(i._index)
{
@@ -329,7 +329,7 @@ public:
return *this;
}
Iterator& operator=(Iterator&& v)
Iterator& operator=(Iterator&& v) noexcept
{
_collection = v._collection;
_index = v._index;