diff options
Diffstat (limited to 'src/mongo/db/commands/hashcmd.cpp')
-rw-r--r-- | src/mongo/db/commands/hashcmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/hashcmd.cpp b/src/mongo/db/commands/hashcmd.cpp index 709b6952e0f..342852c45ad 100644 --- a/src/mongo/db/commands/hashcmd.cpp +++ b/src/mongo/db/commands/hashcmd.cpp @@ -101,7 +101,7 @@ public: } }; MONGO_INITIALIZER(RegisterHashEltCmd)(InitializerContext* context) { - if (Command::testCommandsEnabled) { + if (getTestCommandsEnabled()) { // Leaked intentionally: a Command registers itself when constructed. new CmdHashElt(); } |