-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Internal Code
-
Query Execution
-
Fully Compatible
-
v7.0
-
QE 2023-05-15
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
Copy without assign
src/mongo/db/exec/sbe/values/makeobj_spec.h:41
This class has a user-defined copy constructor but no user-defined assignment operator. If the copy constructor is necessary to manage owned resources then a corresponding assignment operator is usually required. If an object of this type is assigned memory leaks and/or use-after-free errors may occur. Note that a compiler-generated assignment operator will perform only a bit-wise copy for any fields that do not have their own assignment operators defined. Class has user-written copy constructor but no user-written assignment operator
/src/mongo/db/exec/sbe/values/makeobj_spec.h:41: COPY_WITHOUT_ASSIGN 136596 Class "mongo::sbe::value::MakeObjSpec" has a user-written copy constructor "mongo::sbe::value::MakeObjSpec::MakeObjSpec(mongo::sbe::value::MakeObjSpec const &)" but no corresponding user-written assignment operator.
/src/mongo/db/exec/sbe/values/makeobj_spec.h:53: COPY_WITHOUT_ASSIGN 136596 User-written copy constructor.
- is caused by
-
SERVER-75229 Add mini-bloom filter to MakeObjSpec
-
- Closed
-