Switch to std::min
This commit is contained in:
parent
4848179857
commit
b7db46a43a
|
@ -986,7 +986,7 @@ void gr_palette_step_up(int r, int g, int b)
|
|||
}
|
||||
|
||||
#undef min
|
||||
static inline int min(int x, int y) { return x < y ? x : y; }
|
||||
using std::min;
|
||||
|
||||
void gr_palette_load( ubyte *pal )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue