summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/projection_exec.cpp
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2015-10-29 14:31:11 -0400
committerJason Rassi <rassi@10gen.com>2015-11-05 13:56:56 -0500
commit3b76b83742bcd2124abe38718ad5c68bd72b2fc8 (patch)
tree0532d5550115fc72cb8c1db10d935f644c392bf9 /src/mongo/db/exec/projection_exec.cpp
parentc6d730bfed0c3ec374b35c4fd5b2badaa9bd8fc6 (diff)
downloadmongo-3b76b83742bcd2124abe38718ad5c68bd72b2fc8.tar.gz
SERVER-19510 Rename MatchExpressionParser::WhereCallback
Diffstat (limited to 'src/mongo/db/exec/projection_exec.cpp')
-rw-r--r--src/mongo/db/exec/projection_exec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/projection_exec.cpp b/src/mongo/db/exec/projection_exec.cpp
index b5d83349cba..d0eb29d1827 100644
--- a/src/mongo/db/exec/projection_exec.cpp
+++ b/src/mongo/db/exec/projection_exec.cpp
@@ -74,7 +74,7 @@ ProjectionExec::ProjectionExec()
ProjectionExec::ProjectionExec(const BSONObj& spec,
const MatchExpression* queryExpression,
- const MatchExpressionParser::WhereCallback& whereCallback)
+ const MatchExpressionParser::ExtensionsCallback& extensionsCallback)
: _include(true),
_special(false),
_source(spec),
@@ -126,7 +126,7 @@ ProjectionExec::ProjectionExec(const BSONObj& spec,
verify(elemMatchObj.isOwned());
_elemMatchObjs.push_back(elemMatchObj);
StatusWithMatchExpression statusWithMatcher =
- MatchExpressionParser::parse(elemMatchObj, whereCallback);
+ MatchExpressionParser::parse(elemMatchObj, extensionsCallback);
verify(statusWithMatcher.isOK());
// And store it in _matchers.
_matchers[mongoutils::str::before(e.fieldName(), '.').c_str()] =