diff options
author | Dave Parks <davep@lindenlab.com> | 2022-12-13 16:14:05 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-12-13 16:14:05 -0600 |
commit | 9e7829c9cb140f994c9aa12dddcd4518c4c43a40 (patch) | |
tree | 01a24506c244b875bdeb402498bf3cb11658debb /indra/llcommon/lltracethreadrecorder.cpp | |
parent | 5fcfe95422b4c3a5434b3eb711cd12401d4329d3 (diff) | |
parent | a4397723b7ed1e5a8c86b104fd5a8b94da03abb9 (diff) |
Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra/llcommon/lltracethreadrecorder.cpp')
-rw-r--r-- | indra/llcommon/lltracethreadrecorder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/lltracethreadrecorder.cpp b/indra/llcommon/lltracethreadrecorder.cpp index 090d3297a0..26db15eaa0 100644 --- a/indra/llcommon/lltracethreadrecorder.cpp +++ b/indra/llcommon/lltracethreadrecorder.cpp @@ -308,13 +308,13 @@ ThreadRecorder* get_master_thread_recorder() return sMasterThreadRecorder; } -LLThreadLocalPointer<ThreadRecorder>& get_thread_recorder_ptr() +ThreadRecorder*& get_thread_recorder_ptr() { - static LLThreadLocalPointer<ThreadRecorder> s_thread_recorder; + static thread_local ThreadRecorder* s_thread_recorder; return s_thread_recorder; } -const LLThreadLocalPointer<ThreadRecorder>& get_thread_recorder() +ThreadRecorder* get_thread_recorder() { return get_thread_recorder_ptr(); } |