mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 02:18:46 +00:00
[APFloat] Use std::move() in move assignment operator
llvm-svn: 285442
This commit is contained in:
parent
f25ba8d356
commit
cd2f24facc
@ -712,7 +712,7 @@ class APFloat : public APFloatBase {
|
||||
Double = std::move(RHS.Double);
|
||||
} else if (this != &RHS) {
|
||||
this->~Storage();
|
||||
new (this) Storage(RHS);
|
||||
new (this) Storage(std::move(RHS));
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user