summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/validity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/validity.cpp')
-rw-r--r--src/emu/validity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/validity.cpp b/src/emu/validity.cpp
index 868f7c96935..3c402487bf4 100644
--- a/src/emu/validity.cpp
+++ b/src/emu/validity.cpp
@@ -1550,7 +1550,7 @@ void validity_checker::validate_roms(device_t &root)
// attempt to add it to the map, reporting duplicates as errors
current_length = ROMREGION_GETLENGTH(romp);
- if (!m_region_map.insert(std::make_pair(fulltag, current_length)).second)
+ if (!m_region_map.emplace(fulltag, current_length).second)
osd_printf_error("Multiple ROM_REGIONs with the same tag '%s' defined\n", fulltag);
}
else if (ROMENTRY_ISSYSTEM_BIOS(romp)) // If this is a system bios, make sure it is using the next available bios number