summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_plan_cache_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_plan_cache_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_plan_cache_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_plan_cache_cmd.cpp b/src/mongo/s/commands/cluster_plan_cache_cmd.cpp
index 87beef74b24..105dd44f746 100644
--- a/src/mongo/s/commands/cluster_plan_cache_cmd.cpp
+++ b/src/mongo/s/commands/cluster_plan_cache_cmd.cpp
@@ -88,7 +88,7 @@ public:
// Cluster plan cache command entry point.
bool run(OperationContext* opCtx,
const std::string& dbname,
- BSONObj& cmdObj,
+ const BSONObj& cmdObj,
std::string& errmsg,
BSONObjBuilder& result);
@@ -111,7 +111,7 @@ private:
bool ClusterPlanCacheCmd::run(OperationContext* opCtx,
const std::string& dbName,
- BSONObj& cmdObj,
+ const BSONObj& cmdObj,
std::string& errMsg,
BSONObjBuilder& result) {
const NamespaceString nss(parseNsCollectionRequired(dbName, cmdObj));