diff options
author | mahlemiut <bsr@xnet.co.nz> | 2016-07-25 21:28:19 +1200 |
---|---|---|
committer | mahlemiut <bsr@xnet.co.nz> | 2016-07-25 21:28:19 +1200 |
commit | ef22943d0161be210b7c0ef057fa6954fdfe1993 (patch) | |
tree | 40deb81b757a1f69ebd7400c45fe34b1895b981d | |
parent | 9217251d3decd11e9d776e6d6d3d164a983d0f94 (diff) |
make ioport_list a map instead of unordered_map, should fix INP incompatibilities across compilers and platforms.
-rw-r--r-- | src/emu/emu.h | 1 | ||||
-rw-r--r-- | src/emu/ioport.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/emu.h b/src/emu/emu.h index 120615187db..54a3b2787ad 100644 --- a/src/emu/emu.h +++ b/src/emu/emu.h @@ -21,6 +21,7 @@ #include <list> #include <vector> #include <memory> +#include <map> #include <unordered_map> #include <unordered_set> diff --git a/src/emu/ioport.h b/src/emu/ioport.h index 455ef660e60..ea5415dd343 100644 --- a/src/emu/ioport.h +++ b/src/emu/ioport.h @@ -1265,7 +1265,7 @@ struct ioport_field_live // ======================> ioport_list // class that holds a list of I/O ports -class ioport_list : public std::unordered_map<std::string, std::unique_ptr<ioport_port>> +class ioport_list : public std::map<std::string, std::unique_ptr<ioport_port>> { DISABLE_COPYING(ioport_list); |