projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aed4d4
)
sim: remove unused struct priority_compare
author
Nilay Vaish
<nilay@cs.wisc.edu>
Fri, 1 Feb 2013 03:26:29 +0000
(21:26 -0600)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Fri, 1 Feb 2013 03:26:29 +0000
(21:26 -0600)
src/sim/eventq.hh
patch
|
blob
|
history
diff --git
a/src/sim/eventq.hh
b/src/sim/eventq.hh
index 5d5764a6ab4ae6173e21b19822affacf693b9baf..968be6ca1c897582c60704263667923d9199e8b6 100644
(file)
--- a/
src/sim/eventq.hh
+++ b/
src/sim/eventq.hh
@@
-296,16
+296,6
@@
class Event : public Serializable
Priority priority() const { return _priority; }
#ifndef SWIG
- struct priority_compare
- : public std::binary_function<Event *, Event *, bool>
- {
- bool
- operator()(const Event *l, const Event *r) const
- {
- return l->when() >= r->when() || l->priority() >= r->priority();
- }
- };
-
virtual void serialize(std::ostream &os);
virtual void unserialize(Checkpoint *cp, const std::string §ion);
#endif