aboutsummaryrefslogtreecommitdiff
path: root/zenstore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-03-27 22:15:18 +0200
committerDan Engelbrecht <[email protected]>2022-03-31 11:29:28 +0200
commitcae295366b42882678625927df1066dc5418e93a (patch)
treedc9546f651d16d0feaf9f879e6c7de09ce4c6f02 /zenstore/include
parentRemove redundant lock in BlockStoreFile (diff)
downloadzen-cae295366b42882678625927df1066dc5418e93a.tar.xz
zen-cae295366b42882678625927df1066dc5418e93a.zip
Switch from std::shared_ptr<> to Ref<>
Remove a bunch of 'auto' with explicit type
Diffstat (limited to 'zenstore/include')
-rw-r--r--zenstore/include/zenstore/blockstore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/include/zenstore/blockstore.h b/zenstore/include/zenstore/blockstore.h
index 04c048422..54cdfeaa8 100644
--- a/zenstore/include/zenstore/blockstore.h
+++ b/zenstore/include/zenstore/blockstore.h
@@ -77,7 +77,7 @@ private:
#pragma pack(pop)
-struct BlockStoreFile
+struct BlockStoreFile : public RefCounted
{
explicit BlockStoreFile(const std::filesystem::path& BlockPath);
~BlockStoreFile();