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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user