diff options
| author | 2016-07-31 11:50:20 +0200 | |
|---|---|---|
| committer | 2016-07-31 14:41:02 +0200 | |
| commit | 9667c6a8cce1829a7321dde67bd0287c73234386 (patch) | |
| tree | f3665957d557cb18728a40e75f7d9f2341aaff1d /src/emu/drivenum.cpp | |
| parent | 69ac4affc86caac51ff9720083ed128dabdb932f (diff) | |
std::min and std:max instead of MIN and MAX, also some more macros converted to inline functions (nw)
Diffstat (limited to 'src/emu/drivenum.cpp')
| -rw-r--r-- | src/emu/drivenum.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/drivenum.cpp b/src/emu/drivenum.cpp index 99b0f1898c0..1d2f6d79f06 100644 --- a/src/emu/drivenum.cpp +++ b/src/emu/drivenum.cpp @@ -365,7 +365,7 @@ void driver_enumerator::find_approximate_matches(const char *string, int count, // pick the best match between driver name and description int curpenalty = penalty_compare(string, s_drivers_sorted[index]->description); int tmp = penalty_compare(string, s_drivers_sorted[index]->name); - curpenalty = MIN(curpenalty, tmp); + curpenalty = std::min(curpenalty, tmp); // insert into the sorted table of matches for (int matchnum = count - 1; matchnum >= 0; matchnum--) |
