summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/resize_oplog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/resize_oplog.cpp')
-rw-r--r--src/mongo/db/commands/resize_oplog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/resize_oplog.cpp b/src/mongo/db/commands/resize_oplog.cpp
index 8a834ec2af0..5aa3c693dab 100644
--- a/src/mongo/db/commands/resize_oplog.cpp
+++ b/src/mongo/db/commands/resize_oplog.cpp
@@ -79,7 +79,7 @@ public:
}
bool run(OperationContext* opCtx,
- const std::string& dbname,
+ const DatabaseName&,
const BSONObj& jsobj,
BSONObjBuilder& result) {
AutoGetCollection coll(opCtx, NamespaceString::kRsOplogNamespace, MODE_X);