mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 11:46:27 +00:00
Remove the min/max functions in CommonFuncs.
The algorithm header has the same functions.
This commit is contained in:
parent
3097345929
commit
49b0eef393
29 changed files with 104 additions and 99 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue