summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/generic.cpp
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-08-03 18:14:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-10 04:10:22 +0000
commite008eb5f1e07997139ae3acd81152b6180e9e312 (patch)
tree70fe5516b13661f1007f1cc1bf4d3208b932e3e6 /src/mongo/db/commands/generic.cpp
parent1ad5ef42f5161542550262647ab79e85cc6a7cf2 (diff)
downloadmongo-e008eb5f1e07997139ae3acd81152b6180e9e312.tar.gz
SERVER-67459 Change BasicCommand to use DatabaseName
Diffstat (limited to 'src/mongo/db/commands/generic.cpp')
-rw-r--r--src/mongo/db/commands/generic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/generic.cpp b/src/mongo/db/commands/generic.cpp
index ef4a557d38b..f61ead33f83 100644
--- a/src/mongo/db/commands/generic.cpp
+++ b/src/mongo/db/commands/generic.cpp
@@ -165,7 +165,7 @@ public:
return false;
}
virtual bool run(OperationContext* opCtx,
- const string& ns,
+ const DatabaseName&,
const BSONObj& cmdObj,
BSONObjBuilder& result) {
// Sort the command names before building the result BSON.