refactor: address code review comments

This commit is contained in:
typenameTea
2024-10-05 12:47:10 +01:00
parent 2b33d57c82
commit c33708c1f9
2 changed files with 9 additions and 10 deletions
+1 -5
View File
@@ -63,11 +63,7 @@ operator>>(std::basic_istream<CharType, CharTrait>& in, optional<T>& v)
{
T x;
in >> x;
#ifndef BOOST_OPTIONAL_DETAIL_NO_RVALUE_REFERENCES
v = std::move(x);
#else
v = x;
#endif
v = optional_detail::move(x);
}
else
{