sim: Flag EventQueue::getCurTick() as const

This commit is contained in:
Andreas Sandberg 2015-08-07 17:43:21 +01:00
parent 023f6eb0f2
commit 35d8e5b52b

View file

@ -566,7 +566,7 @@ class EventQueue : public Serializable
Tick nextTick() const { return head->when(); }
void setCurTick(Tick newVal) { _curTick = newVal; }
Tick getCurTick() { return _curTick; }
Tick getCurTick() const { return _curTick; }
Event *getHead() const { return head; }
Event *serviceOne();