aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/gc-store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/gc-store.cc')
-rw-r--r--src/libstore/gc-store.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstore/gc-store.cc b/src/libstore/gc-store.cc
deleted file mode 100644
index 3dbdec53b..000000000
--- a/src/libstore/gc-store.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "gc-store.hh"
-
-namespace nix {
-
-GcStore & requireGcStore(Store & store)
-{
- auto * gcStore = dynamic_cast<GcStore *>(&store);
- if (!gcStore)
- throw UsageError("Garbage collection not supported by this store");
- return *gcStore;
-}
-
-}