From f2e93215918180b21dcaba78adf21d81ef3f1e83 Mon Sep 17 00:00:00 2001 From: spxtr Date: Tue, 15 Dec 2015 21:00:56 -0800 Subject: [PATCH] Repackage the unique_ptr in GameFile into a QSharedPointer. --- Source/Core/DolphinQt2/GameList/GameFile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/GameList/GameFile.cpp b/Source/Core/DolphinQt2/GameList/GameFile.cpp index 725e444067..6a0920e17e 100644 --- a/Source/Core/DolphinQt2/GameList/GameFile.cpp +++ b/Source/Core/DolphinQt2/GameList/GameFile.cpp @@ -139,7 +139,8 @@ bool GameFile::TryLoadCache() bool GameFile::TryLoadVolume() { - QSharedPointer volume(DiscIO::CreateVolumeFromFilename(m_path.toStdString())); + QSharedPointer volume( + DiscIO::CreateVolumeFromFilename(m_path.toStdString()).release()); if (volume == nullptr) return false;