summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/shutdown.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/shutdown.h')
-rw-r--r--src/mongo/db/commands/shutdown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/shutdown.h b/src/mongo/db/commands/shutdown.h
index e89aa301261..b000d6c27c2 100644
--- a/src/mongo/db/commands/shutdown.h
+++ b/src/mongo/db/commands/shutdown.h
@@ -45,7 +45,7 @@ public:
virtual bool adminOnly() const {
return true;
}
- virtual bool localHostOnlyIfNoAuth() {
+ bool localHostOnlyIfNoAuth() const override {
return true;
}
AllowedOnSecondary secondaryAllowed() const override {