diff options
-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(); } |