summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/user_management_commands.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-01-30 12:54:32 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2018-02-01 16:56:09 -0500
commit62ca1bcdd3dcc634a6fa91204b0f0941eb76399e (patch)
tree8e972fb8cc1d636549e85a5f347406623b726463 /src/mongo/db/commands/user_management_commands.cpp
parent3a5d38b81eac17e6be7b2d6813ca4c2b8ab619a3 (diff)
downloadmongo-62ca1bcdd3dcc634a6fa91204b0f0941eb76399e.tar.gz
SERVER-32958 small changes to remaining Command member signatures.
Diffstat (limited to 'src/mongo/db/commands/user_management_commands.cpp')
-rw-r--r--src/mongo/db/commands/user_management_commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/user_management_commands.cpp b/src/mongo/db/commands/user_management_commands.cpp
index 7aafdce777b..75c19615770 100644
--- a/src/mongo/db/commands/user_management_commands.cpp
+++ b/src/mongo/db/commands/user_management_commands.cpp
@@ -748,7 +748,7 @@ public:
return CommandHelpers::appendCommandStatus(result, status);
}
- virtual void redactForLogging(mutablebson::Document* cmdObj) {
+ void redactForLogging(mutablebson::Document* cmdObj) const override {
auth::redactPasswordData(cmdObj->root());
}
@@ -882,7 +882,7 @@ public:
return CommandHelpers::appendCommandStatus(result, status);
}
- virtual void redactForLogging(mutablebson::Document* cmdObj) {
+ void redactForLogging(mutablebson::Document* cmdObj) const override {
auth::redactPasswordData(cmdObj->root());
}