From 811efa6107ddffeffa50c3ba921bca8ed87100bb Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 17 Jul 2020 17:19:08 +0200 Subject: [PATCH] PVS: V690 The copy constructor is declared as private in the 'PropertySheet' class, but the default copy assignment operator will still be generated by compiler. It is dangerous to use such a class. --- src/Mod/Spreadsheet/App/PropertySheet.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Spreadsheet/App/PropertySheet.h b/src/Mod/Spreadsheet/App/PropertySheet.h index 7efb01a9d5..54844087e9 100644 --- a/src/Mod/Spreadsheet/App/PropertySheet.h +++ b/src/Mod/Spreadsheet/App/PropertySheet.h @@ -182,6 +182,7 @@ protected: private: PropertySheet(const PropertySheet & other); + PropertySheet& operator= (const PropertySheet&); /* friends */