mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
Delete some default constructors and assignment operators
They are unused, but if someone used them they would lead to problems since they would copy the internal raw pointers and the destructor would cause double delete
This commit is contained in:
committed by
Brad King
parent
e3353a0175
commit
ae5e97a005
@@ -24,6 +24,10 @@ public:
|
||||
cmDependsJavaParserHelper();
|
||||
~cmDependsJavaParserHelper();
|
||||
|
||||
cmDependsJavaParserHelper(const cmDependsJavaParserHelper&) = delete;
|
||||
cmDependsJavaParserHelper& operator=(const cmDependsJavaParserHelper&) =
|
||||
delete;
|
||||
|
||||
int ParseString(const char* str, int verb);
|
||||
int ParseFile(const char* file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user