From 87ea04ab2f8b65f5f353087af107576c2ae788d6 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Thu, 31 Jan 2013 21:26:29 -0600 Subject: sim: remove unused struct priority_compare --- src/sim/eventq.hh | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') 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 - { - 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 -- cgit v1.2.3