projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c2964
)
Fix stats incompatibility with g++ 3.4.
author
Steve Reinhardt
<stever@eecs.umich.edu>
Tue, 1 Mar 2005 05:41:19 +0000
(
00:41
-0500)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/base/statistics.hh
b/base/statistics.hh
index 667a0ed486863b9626229d54d14d2298ff2513e0..98d50a5bce0e1dc57c727c1c0a0933578dc26f91 100644
(file)
--- a/
base/statistics.hh
+++ b/
base/statistics.hh
@@
-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)
{