summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeGC.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-08-31 19:27:18 -0400
committerLioncash <mathew1800@gmail.com>2015-08-31 20:01:44 -0400
commit1db1a8aacf7c5d0d8a7e36f2c6f2e452b0971ed0 (patch)
treedc033249fe450af9f91c8de14ec077594d4b0a54 /Source/Core/DiscIO/VolumeGC.cpp
parentb9ea9c05ad8287462cfbbc1c19620f98f9eaad26 (diff)
VolumeCreator: Use a unique_ptr in CreateVolumeFromFilename
Diffstat (limited to 'Source/Core/DiscIO/VolumeGC.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeGC.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp
index f2e54bdde8..f6b4c6ae64 100644
--- a/Source/Core/DiscIO/VolumeGC.cpp
+++ b/Source/Core/DiscIO/VolumeGC.cpp
@@ -6,6 +6,7 @@
#include <map>
#include <memory>
#include <string>
+#include <utility>
#include <vector>
#include "Common/ColorUtil.h"
@@ -20,8 +21,8 @@
namespace DiscIO
{
-CVolumeGC::CVolumeGC(IBlobReader* _pReader)
- : m_pReader(_pReader)
+CVolumeGC::CVolumeGC(std::unique_ptr<IBlobReader> reader)
+ : m_pReader(std::move(reader))
{}
CVolumeGC::~CVolumeGC()