2
0
mirror of https://github.com/boostorg/variant.git synced 2026-01-19 04:42:16 +00:00

Remove unnecessary variable

This commit is contained in:
Albert Sverdlov
2017-05-29 20:37:59 +03:00
parent 33f9fd4d51
commit 5b61db29a3

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;