cpu: Make hash struct instead of class to please clang
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 30 May 2013 16:53:52 +0000 (12:53 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 30 May 2013 16:53:52 +0000 (12:53 -0400)
commitd1a43d83daa6c8489cc063cdb17ce3c0022b027a
tree9d426be1673d8efba8c507eb02dd51f3033fdbed
parent64af621cc639d5b43567d3503ec17a0ab3c7ab06
cpu: Make hash struct instead of class to please clang

This patch changes the type of the hash function for BasicBlockRanges
to match the original definition of the templatized type. Without
this, clang raises a warning and combined with the "-Werror" flag this
causes compilation to fail.
src/cpu/simple/atomic.hh