Permalink
Browse files

sim: remove unused struct priority_compare

  • Loading branch information...
1 parent 6aed4d4 commit 87ea04ab2f8b65f5f353087af107576c2ae788d6 @nilayvaish nilayvaish committed Feb 1, 2013
Showing with 0 additions and 10 deletions.
  1. +0 −10 src/sim/eventq.hh
View
@@ -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 &section);
#endif

0 comments on commit 87ea04a

Please sign in to comment.