diff options
author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-09-24 02:59:48 +0200 |
---|---|---|
committer | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-09-24 02:59:48 +0200 |
commit | 776fae7dd7a6b5c1d0a2536248e767fdf4a565d4 (patch) | |
tree | 1f99a78cf8e2e0a153696bbec1e385d3f4d0018f /indra/llcommon | |
parent | 3b6bdee4b834f92b04ada30668d538002fdc698b (diff) |
Reduce memory allocations pinging the mainloop timeout
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llthread.h b/indra/llcommon/llthread.h index 4194e0014d..21264351e5 100644 --- a/indra/llcommon/llthread.h +++ b/indra/llcommon/llthread.h @@ -68,7 +68,7 @@ public: // Called from MAIN THREAD. void pause(); void unpause(); - bool isPaused() { return isStopped() || mPaused; } + bool isPaused() const { return isStopped() || mPaused; } // Cause the thread to wake up and check its condition void wake(); |