changeset f35e317d2e1e in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=f35e317d2e1e
description:
        sim: Flag EventQueue::getCurTick() as const

diffstat:

 src/sim/eventq.hh |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 863d314f6356 -r f35e317d2e1e src/sim/eventq.hh
--- a/src/sim/eventq.hh Fri Aug 07 15:39:17 2015 +0100
+++ b/src/sim/eventq.hh Fri Aug 07 17:43:21 2015 +0100
@@ -566,7 +566,7 @@
 
     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();
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to