aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/gc.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-15 22:09:06 +0200
committerStefan Boberg <[email protected]>2023-05-15 22:09:06 +0200
commit193d3292e3c6cbcecc6ec70f54239e225d540d43 (patch)
treea27721327e358ab0250b35aae25d378e994c4096 /src/zenstore/gc.cpp
parentadded error reporting for bad BlockStore chunks (diff)
downloadzen-193d3292e3c6cbcecc6ec70f54239e225d540d43.tar.xz
zen-193d3292e3c6cbcecc6ec70f54239e225d540d43.zip
removed remnants of ZEN_USE_REF_TRACKING
this code was originally meant to be used for GC but is no longer needed
Diffstat (limited to 'src/zenstore/gc.cpp')
-rw-r--r--src/zenstore/gc.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp
index 9cbc43b1b..a7c757877 100644
--- a/src/zenstore/gc.cpp
+++ b/src/zenstore/gc.cpp
@@ -420,26 +420,6 @@ GcManager::TotalStorageSize() const
return TotalSize;
}
-#if ZEN_USE_REF_TRACKING
-void
-GcManager::OnNewCidReferences(std::span<IoHash> Hashes)
-{
- ZEN_UNUSED(Hashes);
-}
-
-void
-GcManager::OnCommittedCidReferences(std::span<IoHash> Hashes)
-{
- ZEN_UNUSED(Hashes);
-}
-
-void
-GcManager::OnDroppedCidReferences(std::span<IoHash> Hashes)
-{
- ZEN_UNUSED(Hashes);
-}
-#endif
-
//////////////////////////////////////////////////////////////////////////
void
DiskUsageWindow::KeepRange(GcClock::Tick StartTick, GcClock::Tick EndTick)