summaryrefslogtreecommitdiff
path: root/src/os/CollectionIndex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/CollectionIndex.h')
-rw-r--r--src/os/CollectionIndex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/CollectionIndex.h b/src/os/CollectionIndex.h
index d931a88b2d5..4cd1c1762fd 100644
--- a/src/os/CollectionIndex.h
+++ b/src/os/CollectionIndex.h
@@ -166,6 +166,9 @@ protected:
vector<hobject_t> *ls ///< [out] Listed Objects
) = 0;
+ /// Call prior to removing directory
+ virtual int prep_delete() { return 0; }
+
/// Virtual destructor
virtual ~CollectionIndex() {}
};