mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
don't capture a temporary by reference. Ugh
This commit is contained in:
parent
5184cbe615
commit
f0e87360c1
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ void EntityEditFilters::scriptRequestFinished(EntityItemID entityID) {
|
|||
|
||||
// define the uncaughtException function
|
||||
QScriptEngine& engineRef = *engine;
|
||||
filterData.uncaughtExceptions = [this, &engineRef, &urlString]() { return hadUncaughtExceptions(engineRef, urlString); };
|
||||
filterData.uncaughtExceptions = [this, &engineRef, urlString]() { return hadUncaughtExceptions(engineRef, urlString); };
|
||||
|
||||
// now get the filter function
|
||||
auto global = engine->globalObject();
|
||||
|
|
Loading…
Reference in a new issue