diff options
Diffstat (limited to 'src/sim/eventq.hh')
-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 |