summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source.h
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/pipeline/document_source.h
parentb5ef3780e6956b51659e953080d783f67ca31b64 (diff)
downloadmongo-99de297d275339d7ff2f0a38530298cdf8f73fa4.tar.gz
SERVER-33892 Separate test_commands_enabled library
Diffstat (limited to 'src/mongo/db/pipeline/document_source.h')
-rw-r--r--src/mongo/db/pipeline/document_source.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source.h b/src/mongo/db/pipeline/document_source.h
index f1ee7d5717c..3b4b421f358 100644
--- a/src/mongo/db/pipeline/document_source.h
+++ b/src/mongo/db/pipeline/document_source.h
@@ -104,7 +104,7 @@ class Document;
#define REGISTER_TEST_DOCUMENT_SOURCE(key, liteParser, fullParser) \
REGISTER_DOCUMENT_SOURCE_CONDITIONALLY( \
- key, liteParser, fullParser, Command::testCommandsEnabled)
+ key, liteParser, fullParser, ::mongo::getTestCommandsEnabled())
/**
* Registers a multi-stage alias (such as $sortByCount) to have the single name 'key'. When a stage