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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user