Dict: Mark iterator move operator/constructors as noexcept

This commit is contained in:
Tim Wojtulewicz 2022-09-19 10:33:14 -07:00
parent 02cc4fd1b8
commit f2ae1da764

View file

@ -220,7 +220,7 @@ public:
return *this; return *this;
} }
DictIterator(DictIterator&& that) DictIterator(DictIterator&& that) noexcept
{ {
if ( this == &that ) if ( this == &that )
return; return;
@ -238,7 +238,7 @@ public:
that.dict = nullptr; that.dict = nullptr;
} }
DictIterator& operator=(DictIterator&& that) DictIterator& operator=(DictIterator&& that) noexcept
{ {
if ( this == &that ) if ( this == &that )
return *this; return *this;
@ -358,7 +358,7 @@ public:
} }
} }
RobustDictIterator(RobustDictIterator&& other) : curr(nullptr) RobustDictIterator(RobustDictIterator&& other) noexcept : curr(nullptr)
{ {
dict = nullptr; dict = nullptr;