mem: Modernise MSHR iterators to C++11
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 27 Mar 2015 08:55:57 +0000 (04:55 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 27 Mar 2015 08:55:57 +0000 (04:55 -0400)
commitfe806a0dd7daef6cd42f78d7caaafcb5db9fd6a5
tree12d5ffb834b9284ba00341b4d572120454b00f68
parentd5e03beac2a63b4363a275a63951ae38e03bdb0c
mem: Modernise MSHR iterators to C++11

This patch updates the iterators in the MSHR and MSHR queues to use
C++11 range-based for loops. It also does a bit of additional house
keeping.
src/mem/cache/mshr.cc
src/mem/cache/mshr.hh
src/mem/cache/mshr_queue.cc