mirror of
https://github.com/ksherlock/profuse.git
synced 2026-03-13 08:41:50 +00:00
fix parent pointer bug
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@353 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -61,6 +61,7 @@ using ProFUSE::POSIXException;
|
||||
BlockCachePointer ConcreteBlockCache::Create(BlockDevicePointer device, unsigned size)
|
||||
{
|
||||
//return BlockCachePointer(new ConcreteBlockCache(device, size));
|
||||
// constructor must be accessible to std::make_shared...
|
||||
|
||||
return MAKE_SHARED(ConcreteBlockCache, device, size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user