summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/touch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/touch.cpp')
-rw-r--r--src/mongo/db/commands/touch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/touch.cpp b/src/mongo/db/commands/touch.cpp
index 2423c3ae6bd..0459570129f 100644
--- a/src/mongo/db/commands/touch.cpp
+++ b/src/mongo/db/commands/touch.cpp
@@ -75,7 +75,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::touch);
out->push_back(Privilege(ResourcePattern::forClusterResource(), actions));