diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-07-10 15:27:29 +1000 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-07-10 15:27:29 +1000 | 
| commit | a54f642e85ed2c7138bbf8248c12f62dc0fdb890 (patch) | |
| tree | 1bc1a32a6c8ff30d16cc16b2573671c83c54e845 /qt/ScintillaEditBase/PlatQt.cpp | |
| parent | 56e20ea0283d8018dee48d736ba9dfef3c84dc3f (diff) | |
| download | scintilla-mirror-a54f642e85ed2c7138bbf8248c12f62dc0fdb890.tar.gz | |
Delete standard methods to avoid warnings.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.cpp')
| -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)  | 
