[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 e704506c93
commit 717d9a1a7a

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