mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Replace std::move with static_cast to fix errors in old compilers
This commit is contained in:
parent
58f2e1b9f2
commit
329e54d21f
1 changed files with 2 additions and 2 deletions
|
|
@ -50,12 +50,12 @@ public:
|
|||
|
||||
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
|
||||
MidiMessageSequence (MidiMessageSequence&& other) noexcept
|
||||
: list (std::move (other.list))
|
||||
: list (static_cast<OwnedArray<MidiEventHolder>&&> (other.list))
|
||||
{}
|
||||
|
||||
MidiMessageSequence& operator= (MidiMessageSequence&& other) noexcept
|
||||
{
|
||||
list = std::move (other.list);
|
||||
list = static_cast<OwnedArray<MidiEventHolder>&&> (other.list);
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue