summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/sort_pattern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/sort_pattern.h')
-rw-r--r--src/mongo/db/query/sort_pattern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/sort_pattern.h b/src/mongo/db/query/sort_pattern.h
index 5dbb00c7ca2..d818bd82f38 100644
--- a/src/mongo/db/query/sort_pattern.h
+++ b/src/mongo/db/query/sort_pattern.h
@@ -49,7 +49,7 @@ public:
struct SortPatternPart {
bool isAscending = true;
boost::optional<FieldPath> fieldPath;
- boost::intrusive_ptr<Expression> expression;
+ boost::intrusive_ptr<ExpressionMeta> expression;
};
SortPattern(const BSONObj&, const boost::intrusive_ptr<ExpressionContext>&);