add function and line info to guards

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

No files matched your search

+2 -2
View File
@@ -166,8 +166,8 @@ namespace ObjectFactory
Object * CreateObjectFromLegacyData(const rct_object_entry * entry, const void * data, size_t dataSize)
{
Guard::ArgumentNotNull(entry);
Guard::ArgumentNotNull(data);
Guard::ArgumentNotNull(entry, GUARD_LINE);
Guard::ArgumentNotNull(data, GUARD_LINE);
Object * result = CreateObject(*entry);
if (result != nullptr)