mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Use toSomeType() instead of operator SomeType in ScriptValue.
This means that we are more explicit about type conversions. Also use override specifiers for overriden virtual functions in ScriptValue.
This commit is contained in:
@@ -88,7 +88,7 @@ ScriptType Script::type() const {
|
||||
String Script::typeName() const {
|
||||
return _("function");
|
||||
}
|
||||
ScriptValueP Script::do_eval(Context& ctx, bool openScope) const {
|
||||
ScriptValueP Script::eval(Context& ctx, bool openScope) const {
|
||||
return ctx.eval(*this, openScope);
|
||||
}
|
||||
ScriptValueP Script::dependencies(Context& ctx, const Dependency& dep) const {
|
||||
|
||||
Reference in New Issue
Block a user