-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
Fully Compatible
-
ALL
Class has user-written copy constructor but no user-written assignment operator
Defect 99879 (STATIC_C)
Checker COPY_WITHOUT_ASSIGN (subcategory none)
File: /src/mongo/db/views/view.h
Parse Warning (no function name available)
/src/mongo/db/views/view.h, line: 44
Class "mongo::ViewDefinition" has a user-written copy constructor "mongo::ViewDefinition::ViewDefinition(mongo::ViewDefinition const &)" but no corresponding user-written assignment operator.
class ViewDefinition {
/src/mongo/db/views/view.cpp, line: 50
User-written copy constructor.
ViewDefinition::ViewDefinition(const ViewDefinition& other)
- is duplicated by
-
SERVER-26022 collMod should copy ViewDefinition before modifying
- Closed