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

Add lacking returns to assignment operators

parent 3655ba9e
...@@ -210,6 +210,7 @@ public: ...@@ -210,6 +210,7 @@ public:
*this = *other; *this = *other;
else else
cr_error(other); cr_error(other);
return *this;
} }
template <class U> template <class U>
...@@ -229,6 +230,7 @@ public: ...@@ -229,6 +230,7 @@ public:
*this = *other; *this = *other;
else else
cr_error(other); cr_error(other);
return *this;
} }
/// Queries whether this instance holds a value. /// 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