Showing the changes to interface/src/scripting/TestScriptingInterface.cpp (1 of 170 files). Show all
Unified · Split
| @@ -154,9 +154,9 @@ void TestScriptingInterface::savePhysicsSimulationStats(QString originalPath) { · 153 unmodified lines | ||
| 154 | 154 | qApp->saveNextPhysicsStats(path); |
| 155 | 155 | } |
| 156 | 156 | |
| 157 | −void TestScriptingInterface::profileRange(const QString& name, ScriptValuePointer fn) { | |
| 157 | +void TestScriptingInterface::profileRange(const QString& name, const ScriptValue& fn) { | |
| 158 | 158 | PROFILE_RANGE(script, name); |
| 159 | − fn->call(); | |
| 159 | + fn.call(); | |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | void TestScriptingInterface::clearCaches() { |