diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2005-03-01 00:41:19 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2005-03-01 00:41:19 -0500 |
commit | ddcec6a6f58ee0e286992f2b59047183e578e526 (patch) | |
tree | d079ffa221bf2433745e675f6ff0c24d673b8f80 | |
parent | 58c29640b7f9ab9f4d1724b6f2c432c2146175f2 (diff) | |
download | gem5-ddcec6a6f58ee0e286992f2b59047183e578e526.tar.xz |
Fix stats incompatibility with g++ 3.4.
base/statistics.hh:
Get rid of operator%... g++ 3.4 complains that this isn't defined
for doubles (which makes sense). We never use it anyway.
--HG--
extra : convert_revision : 3ca724e1cc42559226549835f6cd3509308e02ca
-rw-r--r-- | base/statistics.hh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/base/statistics.hh b/base/statistics.hh index 667a0ed48..98d50a5bc 100644 --- a/base/statistics.hh +++ b/base/statistics.hh @@ -2873,12 +2873,6 @@ operator/(Temp l, Temp r) } inline Temp -operator%(Temp l, Temp r) -{ - return NodePtr(new BinaryNode<std::modulus<Result> >(l, r)); -} - -inline Temp operator-(Temp l) { return NodePtr(new UnaryNode<std::negate<Result> >(l)); |