1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

add function and line info to guards

This commit is contained in:
Ted John
2016-07-16 14:17:36 +01:00
parent d25baf7bd3
commit 5f41e3a0eb
8 changed files with 18 additions and 18 deletions

View File

@@ -225,7 +225,7 @@ private:
size_t GetLoadedObjectIndex(const Object * object)
{
Guard::ArgumentNotNull(object);
Guard::ArgumentNotNull(object, GUARD_LINE);
size_t result = SIZE_MAX;
if (_loadedObjects != nullptr)