[APFloat] Use std::move() in move assignment operator

llvm-svn: 285442
This commit is contained in:
Tim Shen 2016-10-28 20:13:06 +00:00
parent f25ba8d356
commit cd2f24facc

View File

@ -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;
}