summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression.h
diff options
context:
space:
mode:
authorIan Boros <ian.boros@mongodb.com>2019-09-25 00:44:40 +0000
committerevergreen <evergreen@mongodb.com>2019-09-25 00:44:40 +0000
commitdafd5d069c74b5ca92cf1ccba7a6a8386a5abe52 (patch)
treeb736c9a5579795640f8870668eba052de5075aab /src/mongo/db/pipeline/expression.h
parente86636d7919c17047736e5dec833252a9de2b60a (diff)
downloadmongo-dafd5d069c74b5ca92cf1ccba7a6a8386a5abe52.tar.gz
SERVER-42422 replace ParsedProjection with ProjectionAST in the query planner
Diffstat (limited to 'src/mongo/db/pipeline/expression.h')
-rw-r--r--src/mongo/db/pipeline/expression.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/expression.h b/src/mongo/db/pipeline/expression.h
index 85872dc675b..37817493fe5 100644
--- a/src/mongo/db/pipeline/expression.h
+++ b/src/mongo/db/pipeline/expression.h
@@ -128,7 +128,7 @@ public:
* Add the fields and variables used in this expression to 'deps'. References to variables which
* are local to a particular expression will be filtered out of the tracker upon return.
*/
- void addDependencies(DepsTracker* deps) {
+ void addDependencies(DepsTracker* deps) const {
_doAddDependencies(deps);
// Filter out references to any local variables.
@@ -1667,7 +1667,7 @@ public:
return visitor->visit(this);
}
- DocumentMetadataFields::MetaType getMetaType() {
+ DocumentMetadataFields::MetaType getMetaType() const {
return _metaType;
}