Fix unused parameter warning triggering
This commit is contained in:
parent
c5d70514ac
commit
54abef2624
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ public:
|
|||
}
|
||||
// allocate how much you need in the first place
|
||||
assert(!originalPtr && !originalSize);
|
||||
// unused parameter warning
|
||||
(void)(originalPtr);
|
||||
(void)(originalSize);
|
||||
return Malloc(newSize);
|
||||
}
|
||||
static void Free(void* ptr)
|
||||
|
|
Loading…
Reference in a new issue