mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
make ioport_list a map instead of unordered_map, should fix INP incompatibilities across compilers and platforms.
This commit is contained in:
parent
9217251d3d
commit
ef22943d01
@ -21,6 +21,7 @@
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user