[msvc][fix] some short names hide global identifier

This commit is contained in:
Jonas Hoppe committed 2024-09-03 09:42:48 +02:00
1 parent 72e03f4f59
commit 33837c5042
8 files changed
+29 -29

No files matched your search

+2 -2
View File
@@ -311,9 +311,9 @@ struct derived_quantity : quantity<Q::reference, Rep> {
R::operator=(t);
return *this;
}
constexpr derived_quantity& operator=(R&& t)
constexpr derived_quantity& operator=(R&& other)
{
R::operator=(std::move(t));
R::operator=(std::move(other));
return *this;
}
// NOLINTBEGIN(google-explicit-constructor, hicpp-explicit-conversions)