From 1f21d889f89cf1338ff198264d63b029314eef7a Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Thu, 22 Jun 2017 15:25:37 -0400 Subject: SERVER-29731 convert all direct subclasses of Command to BasicCommand --- src/mongo/db/commands/hashcmd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/commands/hashcmd.cpp') 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; } -- cgit v1.2.1