diff options
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/system.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/system.hh b/src/sim/system.hh index d7a3b2008..c618e3944 100644 --- a/src/sim/system.hh +++ b/src/sim/system.hh @@ -200,7 +200,7 @@ class System : public SimObject std::vector<ThreadContext *> threadContexts; const bool multiThread; - ThreadContext *getThreadContext(ContextID tid) + ThreadContext *getThreadContext(ContextID tid) const { return threadContexts[tid]; } |