mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Tier1: use the Max defined in platform headers
This one is the preferred Max as per Valve Source.
This commit is contained in:
parent
24f41ef6c7
commit
35f684f9ac
@ -359,7 +359,7 @@ public:
|
||||
// Makes sure we've got at least this much memory
|
||||
void EnsureCapacity(ssize_t num)
|
||||
{
|
||||
size_t nSize = sizeof(T) * MAX(num, Count());
|
||||
size_t nSize = sizeof(T) * Max(num, Count());
|
||||
ReAlloc(nSize);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user