Ensure( == ) --> EnsureEquals(,)

This commit is contained in:
Deukhoofd 2022-03-22 18:34:48 +01:00
parent 43488283cb
commit aba538d351
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ void AngelScriptResolver::LoadByteCodeFromMemory(uint8_t* byte, size_t size) {
// And load the angelscript byte code.
int result = _mainModule->LoadByteCode(stream);
// Ensure we succeeded in this.
Ensure(result == asSUCCESS);
EnsureEquals(result, asSUCCESS);
// Begin loading the type database
auto types = stream->ReadTypes();