summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/connection_status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/connection_status.cpp')
-rw-r--r--src/mongo/db/commands/connection_status.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/connection_status.cpp b/src/mongo/db/commands/connection_status.cpp
index 2a9c97f453f..14e6413014f 100644
--- a/src/mongo/db/commands/connection_status.cpp
+++ b/src/mongo/db/commands/connection_status.cpp
@@ -51,8 +51,8 @@ public:
const BSONObj& cmdObj,
std::vector<Privilege>* out) {} // No auth required
- void help(stringstream& h) const {
- h << "Returns connection-specific information such as logged-in users and their roles";
+ std::string help() const override {
+ return "Returns connection-specific information such as logged-in users and their roles";
}
bool run(OperationContext* opCtx,