mirror of
https://github.com/ksherlock/profuse.git
synced 2026-04-20 14:16:37 +00:00
shared_ptr changes.
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@346 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -196,9 +196,9 @@ RawDevice::~RawDevice()
|
||||
}
|
||||
|
||||
|
||||
RawDevice *RawDevice::Open(const char *name, File::FileFlags flags)
|
||||
BlockDevicePointer RawDevice::Open(const char *name, File::FileFlags flags)
|
||||
{
|
||||
return new RawDevice(name, flags);
|
||||
return BlockDevicePointer(new RawDevice(name, flags));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user