mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +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
|
|
@ -132,8 +132,8 @@ struct JavascriptEngine::RootObject : public DynamicObject
|
|||
struct Scope
|
||||
{
|
||||
Scope (const Scope* p, ReferenceCountedObjectPtr<RootObject> rt, DynamicObject::Ptr scp) noexcept
|
||||
: parent (p), root (static_cast<ReferenceCountedObjectPtr<RootObject>&&> (rt)),
|
||||
scope (static_cast<DynamicObject::Ptr&&> (scp)) {}
|
||||
: parent (p), root (std::move (rt)),
|
||||
scope (std::move (scp)) {}
|
||||
|
||||
const Scope* const parent;
|
||||
ReferenceCountedObjectPtr<RootObject> root;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue