diff options
| -rw-r--r-- | qt/ScintillaEditBase/PlatQt.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp index 9ae9ce03b..c1417b29b 100644 --- a/qt/ScintillaEditBase/PlatQt.cpp +++ b/qt/ScintillaEditBase/PlatQt.cpp @@ -1096,6 +1096,11 @@ public:  		QString path = QString::fromUtf8(modulePath);  		lib = new QLibrary(path);  	} +	// Deleted so DynamicLibraryImpl objects can not be copied +	DynamicLibraryImpl(const DynamicLibraryImpl &) = delete; +	DynamicLibraryImpl(DynamicLibraryImpl &&) = delete; +	DynamicLibraryImpl &operator=(const DynamicLibraryImpl &) = delete; +	DynamicLibraryImpl &operator=(DynamicLibraryImpl &&) = delete;  	virtual ~DynamicLibraryImpl() {  		if (lib) | 
