From: Andreas Sandberg Date: Fri, 7 Aug 2015 16:43:21 +0000 (+0100) Subject: sim: Flag EventQueue::getCurTick() as const X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35d8e5b52bbf41203c19e7226836511377041d46;p=gem5.git sim: Flag EventQueue::getCurTick() as const --- diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh index 6f393fc33..a73e4b9dc 100644 --- a/src/sim/eventq.hh +++ b/src/sim/eventq.hh @@ -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();