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/newview/llnotificationmanager.cpp | |
| parent | bae1e1053de5db189b729f7c40e77fa26fe83766 (diff) | |
#5072 Use make_shared for more efficient ref counting and allocation
Diffstat (limited to 'indra/newview/llnotificationmanager.cpp')
| -rw-r--r-- | indra/newview/llnotificationmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llnotificationmanager.cpp b/indra/newview/llnotificationmanager.cpp index 505f276f8c..29f11f7ca6 100644 --- a/indra/newview/llnotificationmanager.cpp +++ b/indra/newview/llnotificationmanager.cpp @@ -60,7 +60,7 @@ void LLNotificationManager::init() mChannels.emplace_back(new LLBrowserNotification()); mChannels.emplace_back(new LLIMHandler()); - mChatHandler = std::shared_ptr<LLFloaterIMNearbyChatHandler>(new LLFloaterIMNearbyChatHandler()); + mChatHandler = std::make_shared<LLFloaterIMNearbyChatHandler>(); } //-------------------------------------------------------------------------- |
