mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
Tweaks to avoid an obscure compiler warning.
This commit is contained in:
parent
c8affe81a6
commit
827e02862c
2 changed files with 3 additions and 3 deletions
|
|
@ -1453,12 +1453,12 @@ struct JavascriptEngine::RootObject : public DynamicObject
|
|||
ObjectClass()
|
||||
{
|
||||
setMethod ("dump", dump);
|
||||
setMethod ("clone", clone);
|
||||
setMethod ("clone", cloneFn);
|
||||
}
|
||||
|
||||
static Identifier getClassName() { static const Identifier i ("Object"); return i; }
|
||||
static var dump (Args a) { DBG (JSON::toString (a.thisObject)); (void) a; return var::undefined(); }
|
||||
static var clone (Args a) { return a.thisObject.clone(); }
|
||||
static var cloneFn (Args a) { return a.thisObject.clone(); }
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue