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:
ksherlock
2011-02-21 22:47:56 +00:00
parent 3f8e7ad7ae
commit c44145f551
11 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -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;