Skip to content
Snippets Groups Projects
Commit 426870aa authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix rvalue_ref assignment operator

parent 77adb501
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,8 @@ struct rvalue_ref {
using std::swap;
 
swap(holder, other.holder);
return *this;
}
 
~rvalue_ref ( ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment