diff options
| author | Rye <rye@alchemyviewer.org> | 2025-11-28 11:03:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-28 18:03:31 +0200 |
| commit | 54b3f3de64f3749022d95063c7439bfed316645f (patch) | |
| tree | 62b539ac973ed24ba6baef8aaeda8980c9bd99c0 /indra/llimage/llimageworker.cpp | |
| parent | bae1e1053de5db189b729f7c40e77fa26fe83766 (diff) | |
#5072 Use make_shared for more efficient ref counting and allocation
Diffstat (limited to 'indra/llimage/llimageworker.cpp')
| -rw-r--r-- | indra/llimage/llimageworker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llimage/llimageworker.cpp b/indra/llimage/llimageworker.cpp index bdaef0c653..46ab6a441e 100644 --- a/indra/llimage/llimageworker.cpp +++ b/indra/llimage/llimageworker.cpp @@ -67,7 +67,7 @@ private: LLImageDecodeThread::LLImageDecodeThread(bool /*threaded*/) : mDecodeCount(0) { - mThreadPool.reset(new LL::ThreadPool("ImageDecode", 8)); + mThreadPool = std::make_unique<LL::ThreadPool>("ImageDecode", 8); mThreadPool->start(); } |
