1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Resolves one further GCC warning.

Technically this leaves one further, on a temporary printf I have in my IIgs. I'll fix that when I strip all this caveman stufff.
This commit is contained in:
Thomas Harte 2020-11-22 21:57:48 -05:00
parent 46f7ff07f7
commit 9e0e063f8a

View File

@ -152,9 +152,8 @@ struct CPU::WDC65816::ProcessorStorageConstructor {
micro_op_location_16 = micro_op_location_8;
}
// Insert into the map.
auto [iterator, _] = installed_patterns.insert(std::make_pair(key, std::make_pair(micro_op_location_8, micro_op_location_16)));
return iterator;
// Insert into the map and return the resulting iterator.
return installed_patterns.insert(std::make_pair(key, std::make_pair(micro_op_location_8, micro_op_location_16))).first;
}
public: