|
Missing assignment operator
This class, which frees resources in its destructor, does not have a user-written copy assignment operator, but is copy-assigned. Unless the resource is managed separately from the copy operation, this may cause use-after-free errors. Class that owns resources lacks a user-written assignment operator
/src/mongo/db/query/optimizer/algebra/polyvalue.h:220: MISSING_COPY_OR_ASSIGN 122802 Class "mongo::optimizer::algebra::PolyValue<mongo::optimizer::BoolExpr<mongo::optimizer::IntervalRequirement>::Atom, mongo::optimizer::BoolExpr<mongo::optimizer::IntervalRequirement>::Conjunction, mongo::optimizer::BoolExpr<mongo::optimizer::IntervalRequirement>::Disjunction>" owns resources that are freed in its destructor but has no user-written assignment operator.
|