mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 04:25:51 +00:00
Cleanup code using move semantics
This commit is contained in:
@@ -423,7 +423,7 @@ std::uint64_t const STAmount::uRateOne = getRate(STAmount(1), STAmount(1));
|
||||
void
|
||||
STAmount::setIssue(Issue const& issue)
|
||||
{
|
||||
mIssue = std::move(issue);
|
||||
mIssue = issue;
|
||||
mIsNative = isXRP(*this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user