Fix stats incompatibility with g++ 3.4.
authorSteve Reinhardt <stever@eecs.umich.edu>
Tue, 1 Mar 2005 05:41:19 +0000 (00:41 -0500)
committerSteve Reinhardt <stever@eecs.umich.edu>
Tue, 1 Mar 2005 05:41:19 +0000 (00:41 -0500)
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

base/statistics.hh

index 667a0ed486863b9626229d54d14d2298ff2513e0..98d50a5bce0e1dc57c727c1c0a0933578dc26f91 100644 (file)
@@ -2872,12 +2872,6 @@ operator/(Temp l, Temp r)
     return NodePtr(new BinaryNode<std::divides<Result> >(l, r));
 }
 
-inline Temp
-operator%(Temp l, Temp r)
-{
-    return NodePtr(new BinaryNode<std::modulus<Result> >(l, r));
-}
-
 inline Temp
 operator-(Temp l)
 {