Remove the min/max functions in CommonFuncs.

The algorithm header has the same functions.
This commit is contained in:
Lioncash
2014-05-02 22:47:04 -04:00
parent 3097345929
commit 49b0eef393
29 changed files with 104 additions and 99 deletions

View File

@ -4,6 +4,7 @@
#pragma once
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <string>
@ -58,7 +59,7 @@ struct SSysConfEntry
{
if (buffer)
{
memcpy(data, buffer, min<u16>(bufferSize, dataLength));
memcpy(data, buffer, std::min<u16>(bufferSize, dataLength));
return true;
}
return false;