Update to new THROW message.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-11-21 12:40:25 +01:00
parent 50e2f39919
commit 6d3c027a08
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ public:
} else {
ctx->PopState();
}
THROW("Script didn't finish properly; message " << scriptResult);
THROW("Script didn't finish properly; message ", scriptResult);
}
onEnd(ctx);
if (newContext) {

View File

@@ -438,7 +438,7 @@ void AngelScriptResolver::InitializeByteCode(
_evolutionTypes.Set(val.first, type);
}
} else {
THROW("Resolving unknown script category value: " << innerDb.first);
THROW("Resolving unknown script category value: ", innerDb.first);
}
}
}