From 82a1dab0eea69986fe3e54ff6a330e1f473f0cb3 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Wed, 9 Jan 2019 21:44:42 +0100 Subject: 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 --- src/kconf_update/kconf_update.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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(); -- cgit v1.2.1