Ensure( == ) --> EnsureEquals(,)
This commit is contained in:
parent
43488283cb
commit
aba538d351
|
@ -402,7 +402,7 @@ void AngelScriptResolver::LoadByteCodeFromMemory(uint8_t* byte, size_t size) {
|
||||||
// And load the angelscript byte code.
|
// And load the angelscript byte code.
|
||||||
int result = _mainModule->LoadByteCode(stream);
|
int result = _mainModule->LoadByteCode(stream);
|
||||||
// Ensure we succeeded in this.
|
// Ensure we succeeded in this.
|
||||||
Ensure(result == asSUCCESS);
|
EnsureEquals(result, asSUCCESS);
|
||||||
|
|
||||||
// Begin loading the type database
|
// Begin loading the type database
|
||||||
auto types = stream->ReadTypes();
|
auto types = stream->ReadTypes();
|
||||||
|
|
Loading…
Reference in New Issue