aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/evaluatorscriptclass.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-09-18 10:38:03 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-09-19 07:50:19 +0000
commitdccbb056ed18f44333e15a969fe38c5a5bb0fa16 (patch)
tree2c15b55e4ceb37316d0fe6c9c45fb677da968883 /src/lib/corelib/language/evaluatorscriptclass.cpp
parentb32d41b8788ea0c8d41c50effb6e15d8e6133a63 (diff)
Add missing override keywords
Change-Id: I647a04501fbc279d0434d9b8a6160dad1a4f907e Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/lib/corelib/language/evaluatorscriptclass.cpp')
-rw-r--r--[-rwxr-xr-x]src/lib/corelib/language/evaluatorscriptclass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/corelib/language/evaluatorscriptclass.cpp b/src/lib/corelib/language/evaluatorscriptclass.cpp
index a4862a958..9d6622ba3 100755..100644
--- a/src/lib/corelib/language/evaluatorscriptclass.cpp
+++ b/src/lib/corelib/language/evaluatorscriptclass.cpp
@@ -142,7 +142,7 @@ private:
scriptContext->popScope();
}
- void handle(JSSourceValue *value)
+ void handle(JSSourceValue *value) override
{
const Item *conditionScopeItem = 0;
QScriptValue conditionScope;
@@ -288,14 +288,14 @@ private:
popScopes();
}
- void handle(ItemValue *value)
+ void handle(ItemValue *value) override
{
*result = data->evaluator->scriptValue(value->item());
if (!result->isValid())
qDebug() << "SVConverter returned invalid script value.";
}
- void handle(VariantValue *variantValue)
+ void handle(VariantValue *variantValue) override
{
*result = engine->toScriptValue(variantValue->value());
}