ListOfMatchExpression holds its children by owned raw pointer:
Instead, the children should be a std::vector<std::unique_ptr<MatchExpression>>. We should also audit the other MatchExpression subclasses to see if there are remaining uses of owned raw pointers.
- duplicates
-
SERVER-55183 Fix owning raw pointers in matcher/
- Closed
- is related to
-
SERVER-35455 QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer
- Closed
-
SERVER-35512 QuerySolutionNode should hold its children by unique_ptr
- Closed