shared_ptr changes.

git-svn-id: https://profuse.googlecode.com/svn/branches/v2@346 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
ksherlock
2011-02-22 04:57:50 +00:00
parent 78d35bba08
commit 2243d8d136
19 changed files with 76 additions and 76 deletions
+2 -2
View File
@@ -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));
}