summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/conn_pool_sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/conn_pool_sync.cpp')
-rw-r--r--src/mongo/db/commands/conn_pool_sync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/conn_pool_sync.cpp b/src/mongo/db/commands/conn_pool_sync.cpp
index ecf135bb7e6..cd3526bb885 100644
--- a/src/mongo/db/commands/conn_pool_sync.cpp
+++ b/src/mongo/db/commands/conn_pool_sync.cpp
@@ -48,7 +48,7 @@ public:
}
virtual void addRequiredPrivileges(const std::string& dbname,
const BSONObj& cmdObj,
- std::vector<Privilege>* out) {
+ std::vector<Privilege>* out) const {
ActionSet actions;
actions.addAction(ActionType::connPoolSync);
out->push_back(Privilege(ResourcePattern::forClusterResource(), actions));