Remove unnecessary variable

This commit is contained in:
Albert Sverdlov
2017-05-29 20:37:59 +03:00
parent 33f9fd4d51
commit 5b61db29a3
+1 -1
View File
@@ -381,7 +381,7 @@ inline void get_rvref_test()
boost::variant<MoveonlyType, int> v;
v = MoveonlyType();
MoveonlyType&& mt1 = boost::get<MoveonlyType>(boost::move(v));
boost::get<MoveonlyType>(boost::move(v));
v = 3;