summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-01-14 17:38:35 +0100
committerLéo Lam <leo@innovatetechnologi.es>2017-01-14 19:00:19 +0100
commitea0335f7c1308e61bfa4f83af0b6dff68a2b1bbb (patch)
treeb1711a56b925b975087571b7fb2bd4e36fcb90c5 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parentad84b904e4123e02bd6aec198cc73bfb0f254aca (diff)
Fix ChunkFile for std::set
Without this, attempts to savestate std::set will fail with an error about dropping the const qualifier. <Lioncash> leoetlino: I'll try to break it down: So, when you do a ranged-for on a container, it's essentially syntactic sugar over begin and end iterators. std::set is an associative container where the key type is the same as the value type, and so it's required that all iterator functions return constant iterators. If this wasn't a requirement, it would allow changing the ordering of elements from outside of the set's API (this is bad).
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions