Commit 468fe088 authored by Matthias Vallentin's avatar Matthias Vallentin

Add lacking returns to assignment operators

parent 3655ba9e
......@@ -210,6 +210,7 @@ public:
*this = *other;
else
cr_error(other);
return *this;
}
template <class U>
......@@ -229,6 +230,7 @@ public:
*this = *other;
else
cr_error(other);
return *this;
}
/// Queries whether this instance holds a value.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment