summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/hashcmd.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-06-22 15:25:37 -0400
committerMathias Stearn <mathias@10gen.com>2017-07-13 16:53:12 -0400
commit1f21d889f89cf1338ff198264d63b029314eef7a (patch)
tree741021d15b7b2149b28c8eb84369350d8c9a34d8 /src/mongo/db/commands/hashcmd.cpp
parenta6cc94d141f13feff33178a769c81282c7bc0170 (diff)
downloadmongo-1f21d889f89cf1338ff198264d63b029314eef7a.tar.gz
SERVER-29731 convert all direct subclasses of Command to BasicCommand
Diffstat (limited to 'src/mongo/db/commands/hashcmd.cpp')
-rw-r--r--src/mongo/db/commands/hashcmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/hashcmd.cpp b/src/mongo/db/commands/hashcmd.cpp
index a540cd771f0..78f76370b15 100644
--- a/src/mongo/db/commands/hashcmd.cpp
+++ b/src/mongo/db/commands/hashcmd.cpp
@@ -50,9 +50,9 @@ using std::string;
using std::stringstream;
// Testing only, enabled via command-line.
-class CmdHashElt : public Command {
+class CmdHashElt : public BasicCommand {
public:
- CmdHashElt() : Command("_hashBSONElement"){};
+ CmdHashElt() : BasicCommand("_hashBSONElement"){};
virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
return false;
}