mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Replaced all uses of static_cast<Type&&> with std::move
This commit is contained in:
parent
c723e56952
commit
eaf0f990d4
59 changed files with 159 additions and 159 deletions
|
|
@ -73,13 +73,13 @@ RelativeCoordinate& RelativeCoordinate::operator= (const RelativeCoordinate& oth
|
|||
}
|
||||
|
||||
RelativeCoordinate::RelativeCoordinate (RelativeCoordinate&& other) noexcept
|
||||
: term (static_cast<Expression&&> (other.term))
|
||||
: term (std::move (other.term))
|
||||
{
|
||||
}
|
||||
|
||||
RelativeCoordinate& RelativeCoordinate::operator= (RelativeCoordinate&& other) noexcept
|
||||
{
|
||||
term = static_cast<Expression&&> (other.term);
|
||||
term = std::move (other.term);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue