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 | 32a326cabf20ef0c462573aa62a2bc9b33cc6854 (patch) | |
tree | 128b3be8a0355dbd177f26406520e3ea1ebb6a3e | |
parent | 72b5df15f33da27c59efd54eb0c84e173ca8c692 (diff) | |
download | scintilla-mirror-32a326cabf20ef0c462573aa62a2bc9b33cc6854.tar.gz |
Backport: Delete standard methods to avoid warnings.
Backport of changeset 7064:6418332a6880.
-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 663829c7f..cce9c0802 100644 --- a/qt/ScintillaEditBase/PlatQt.cpp +++ b/qt/ScintillaEditBase/PlatQt.cpp @@ -1087,6 +1087,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) |