mirror of
https://github.com/ksherlock/profuse.git
synced 2026-04-24 09:16:50 +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:
@@ -14,7 +14,7 @@
|
||||
|
||||
namespace Device {
|
||||
|
||||
class BlockDevice {
|
||||
class BlockDevice : public std::tr1::enable_shared_from_this<BlockDevice> {
|
||||
public:
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ public:
|
||||
|
||||
virtual ~BlockDevice();
|
||||
|
||||
virtual BlockCachePointer createBlockCache(BlockDevicePointer device);
|
||||
virtual BlockCachePointer createBlockCache();
|
||||
|
||||
|
||||
virtual void read(unsigned block, void *bp) = 0;
|
||||
|
||||
Reference in New Issue
Block a user