diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-01-31 21:26:29 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-01-31 21:26:29 -0600 |
commit | 87ea04ab2f8b65f5f353087af107576c2ae788d6 (patch) | |
tree | b704ffe72054933210e4d0533616aa489e1f8696 /src/sim | |
parent | 6aed4d4f931f0eca15d1211e7e28a06d66f16d32 (diff) | |
download | gem5-87ea04ab2f8b65f5f353087af107576c2ae788d6.tar.xz |
sim: remove unused struct priority_compare
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/eventq.hh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh index 5d5764a6a..968be6ca1 100644 --- 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 |