summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-03-01 00:41:19 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2005-03-01 00:41:19 -0500
commitddcec6a6f58ee0e286992f2b59047183e578e526 (patch)
treed079ffa221bf2433745e675f6ff0c24d673b8f80
parent58c29640b7f9ab9f4d1724b6f2c432c2146175f2 (diff)
downloadgem5-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.hh6
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));