From: Steve Reinhardt Date: Tue, 1 Mar 2005 05:41:19 +0000 (-0500) Subject: Fix stats incompatibility with g++ 3.4. X-Git-Tag: m5_1.0_tutorial~78^2~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ddcec6a6f58ee0e286992f2b59047183e578e526;p=gem5.git 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 --- diff --git a/base/statistics.hh b/base/statistics.hh index 667a0ed48..98d50a5bc 100644 --- a/base/statistics.hh +++ b/base/statistics.hh @@ -2872,12 +2872,6 @@ operator/(Temp l, Temp r) return NodePtr(new BinaryNode >(l, r)); } -inline Temp -operator%(Temp l, Temp r) -{ - return NodePtr(new BinaryNode >(l, r)); -} - inline Temp operator-(Temp l) {