mirror of
https://github.com/ksherlock/profuse.git
synced 2026-04-19 23:16:30 +00:00
this to smart_ptr
git-svn-id: https://profuse.googlecode.com/svn/branches/profuse_interim@343 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -138,9 +138,9 @@ void ProDOSOrderDiskImage::Validate(MappedFile *f)
|
||||
|
||||
}
|
||||
|
||||
BlockCachePointer ProDOSOrderDiskImage::createBlockCache(BlockDevicePointer device)
|
||||
BlockCachePointer ProDOSOrderDiskImage::createBlockCache()
|
||||
{
|
||||
return BlockCachePointer(new MappedBlockCache(device, address()));
|
||||
return BlockCachePointer(new MappedBlockCache(shared_from_this(), address()));
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
Reference in New Issue
Block a user