We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960563b commit a78489eCopy full SHA for a78489e
src/util/expr_iterator.h
@@ -164,7 +164,10 @@ class depth_iterator_baset
164
{ m_stack=std::move(other.m_stack); }
165
depth_iterator_baset &operator=(const depth_iterator_baset&)=default;
166
depth_iterator_baset &operator=(depth_iterator_baset &&other)
167
- { m_stack=std::move(other.m_stack); }
+ {
168
+ m_stack = std::move(other.m_stack);
169
+ return *this;
170
+ }
171
172
const exprt &get_root()
173
{
0 commit comments