diff options
Diffstat (limited to 'src/mongo/db/commands/eval.cpp')
-rw-r--r-- | src/mongo/db/commands/eval.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/commands/eval.cpp b/src/mongo/db/commands/eval.cpp index 6a83aadfcc0..36153a54181 100644 --- a/src/mongo/db/commands/eval.cpp +++ b/src/mongo/db/commands/eval.cpp @@ -158,10 +158,10 @@ public: return false; } - virtual void help(stringstream& help) const { - help << "DEPRECATED\n" - << "Evaluate javascript at the server.\n" - << "http://dochub.mongodb.org/core/serversidecodeexecution"; + std::string help() const override { + return "DEPRECATED\n" + "Evaluate javascript at the server.\n" + "http://dochub.mongodb.org/core/serversidecodeexecution"; } virtual bool supportsWriteConcern(const BSONObj& cmd) const override { return false; |