summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_compact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/collection_compact.h')
-rw-r--r--src/mongo/db/catalog/collection_compact.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/collection_compact.h b/src/mongo/db/catalog/collection_compact.h
index ab22cf07155..c6307360bc0 100644
--- a/src/mongo/db/catalog/collection_compact.h
+++ b/src/mongo/db/catalog/collection_compact.h
@@ -40,7 +40,6 @@ namespace mongo {
* Returns the number of bytes of stable storage and index size that were freed. If the total
* size decreased, the return value is positive. Otherwise, the return value is negative.
*/
-StatusWith<int64_t> compactCollection(OperationContext* opCtx,
- const NamespaceString& collectionNss);
+StatusWith<int64_t> compactCollection(OperationContext* opCtx, const CollectionPtr& collection);
} // namespace mongo