summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/hashcmd.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-03-14 15:54:13 -0400
committerBilly Donahue <billy.donahue@mongodb.com>2018-03-14 17:58:13 -0400
commit99de297d275339d7ff2f0a38530298cdf8f73fa4 (patch)
tree3ba1cad1be89e33add6ee03d38433ba69d44515c /src/mongo/db/commands/hashcmd.cpp
parentb5ef3780e6956b51659e953080d783f67ca31b64 (diff)
downloadmongo-99de297d275339d7ff2f0a38530298cdf8f73fa4.tar.gz
SERVER-33892 Separate test_commands_enabled library
Diffstat (limited to 'src/mongo/db/commands/hashcmd.cpp')
-rw-r--r--src/mongo/db/commands/hashcmd.cpp2
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();
}