summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/mr_common.h
diff options
context:
space:
mode:
authorMatt Broadstone <mbroadst@mongodb.com>2023-04-14 19:17:05 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-14 20:47:24 +0000
commit3e76161bc537343aa585b305c068b1910578c07f (patch)
tree8a97134aa9e2d51b28af7b85aa30b1e5ff319a3e /src/mongo/db/commands/mr_common.h
parent71ff7d212f3af104dd6ab4faefac5a523102c56e (diff)
downloadmongo-3e76161bc537343aa585b305c068b1910578c07f.tar.gz
SERVER-75733 Return StringData in NSS::ns, DatabaseName::db
Diffstat (limited to 'src/mongo/db/commands/mr_common.h')
-rw-r--r--src/mongo/db/commands/mr_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/mr_common.h b/src/mongo/db/commands/mr_common.h
index 965553e9ca8..0cb693453bb 100644
--- a/src/mongo/db/commands/mr_common.h
+++ b/src/mongo/db/commands/mr_common.h
@@ -49,7 +49,7 @@ struct OutputOptions {
OutputType outType;
};
-OutputOptions parseOutputOptions(const std::string& dbname, const BSONObj& cmdObj);
+OutputOptions parseOutputOptions(StringData dbname, const BSONObj& cmdObj);
Status checkAuthForMapReduce(const BasicCommand* command,
OperationContext* opCtx,