summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/create_collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/create_collection.h')
-rw-r--r--src/mongo/db/catalog/create_collection.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/mongo/db/catalog/create_collection.h b/src/mongo/db/catalog/create_collection.h
index e96a7d799f9..84a042dae12 100644
--- a/src/mongo/db/catalog/create_collection.h
+++ b/src/mongo/db/catalog/create_collection.h
@@ -31,13 +31,11 @@
#include "mongo/base/status.h"
namespace mongo {
- class BSONObj;
- class OperationContext;
+class BSONObj;
+class OperationContext;
- /**
- * Creates a collection as described in "cmdObj" on the database "dbName".
- */
- Status createCollection(OperationContext* txn,
- const std::string& dbName,
- const BSONObj& cmdObj);
-} // namespace mongo
+/**
+ * Creates a collection as described in "cmdObj" on the database "dbName".
+ */
+Status createCollection(OperationContext* txn, const std::string& dbName, const BSONObj& cmdObj);
+} // namespace mongo