diff options
| author | flacs <tilkax@gmail.com> | 2015-09-01 04:09:05 +0200 |
|---|---|---|
| committer | flacs <tilkax@gmail.com> | 2015-09-01 04:09:05 +0200 |
| commit | 0ba7a65f08783635a0fa73d3e435ef8c8d345c4b (patch) | |
| tree | 74471f02057b0b5a526eaf15527b2ea9e64dfa6e /Source/Core/DiscIO/VolumeGC.cpp | |
| parent | b9ea9c05ad8287462cfbbc1c19620f98f9eaad26 (diff) | |
| parent | 222b33f0a39d9be4f7b4fe96e4b9babbdebeb38f (diff) | |
Merge pull request #2932 from lioncash/disc
VolumeCreator: Use a unique_ptr in CreateVolumeFromFilename
Diffstat (limited to 'Source/Core/DiscIO/VolumeGC.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeGC.cpp | 5 |
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() |
