diff options
author | Albert Astals Cid <aacid@kde.org> | 2019-01-09 21:44:42 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2019-01-09 21:44:42 +0100 |
commit | 82a1dab0eea69986fe3e54ff6a330e1f473f0cb3 (patch) | |
tree | 2738ae8355550f73a6fc63a3ad37e322384ffd7a | |
parent | d2e2f8e075e4e8a20df9ab24c68714a65498f469 (diff) | |
download | kconfig-82a1dab0eea69986fe3e54ff6a330e1f473f0cb3.tar.gz kconfig-82a1dab0eea69986fe3e54ff6a330e1f473f0cb3.tar.bz2 |
KonfUpdate: delete copy constructor and assignment operator
they are unused, but if anyone would use them things would go wrong, so
protect us from it
-rw-r--r-- | src/kconf_update/kconf_update.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kconf_update/kconf_update.cpp b/src/kconf_update/kconf_update.cpp index 928f3a0b..89a742ec 100644 --- a/src/kconf_update/kconf_update.cpp +++ b/src/kconf_update/kconf_update.cpp @@ -45,6 +45,10 @@ class KonfUpdate public: KonfUpdate(QCommandLineParser *parser); ~KonfUpdate(); + + KonfUpdate(const KonfUpdate &) = delete; + KonfUpdate& operator=(const KonfUpdate &) = delete; + QStringList findUpdateFiles(bool dirtyOnly); QTextStream &log(); |