From: Nilay Vaish Date: Fri, 1 Feb 2013 03:26:29 +0000 (-0600) Subject: sim: remove unused struct priority_compare X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87ea04ab2f8b65f5f353087af107576c2ae788d6;p=gem5.git sim: remove unused struct priority_compare --- 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