diff options
author | Rechi <Rechi@users.noreply.github.com> | 2024-07-01 10:44:24 +1000 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2024-07-01 10:44:24 +1000 |
commit | 907181bbdf74b186d41a7d3ac62dcd2f7bac8a6d (patch) | |
tree | 43956f18de3cb9294fc455ec865a5187f3bb8cca | |
parent | fb90b04e8d65c929499157cc99ec23351db7c6ff (diff) |
[clang-tidy] modernize-make-shared
-rw-r--r-- | xbmc/pvr/channels/PVRChannelGroups.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/pvr/channels/PVRChannelGroups.cpp b/xbmc/pvr/channels/PVRChannelGroups.cpp index 79a5283eb9..65055c7e5b 100644 --- a/xbmc/pvr/channels/PVRChannelGroups.cpp +++ b/xbmc/pvr/channels/PVRChannelGroups.cpp @@ -79,7 +79,7 @@ void CPVRChannelGroups::Unload() m_groups.clear(); m_allChannelsGroup.reset(); - m_channelGroupFactory.reset(new CPVRChannelGroupFactory); + m_channelGroupFactory = std::make_shared<CPVRChannelGroupFactory>(); m_failedClientsForChannelGroups.clear(); } |