mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +00:00
VolumeCreator: Use a unique_ptr in CreateVolumeFromFilename
This commit is contained in:
parent
b9ea9c05ad
commit
1db1a8aacf
7 changed files with 31 additions and 34 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue