From e4afb390e9d056f4e7758eda7d432612fbcb167c Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 15 Apr 2018 02:07:21 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-use-equals-delet?= =?UTF-8?q?e=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a delete specifier on constructors, destructors or assignment methods that should never be called, ensuring they actually never will. --- src/device-manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device-manager.cpp') diff --git a/src/device-manager.cpp b/src/device-manager.cpp index 6c8d4514c..185d417fb 100644 --- a/src/device-manager.cpp +++ b/src/device-manager.cpp @@ -188,8 +188,8 @@ public: virtual Glib::RefPtr getDevice() {return device;} private: - InputDeviceImpl(InputDeviceImpl const &); // no copy - void operator=(InputDeviceImpl const &); // no assign + InputDeviceImpl(InputDeviceImpl const &) = delete; // no copy + void operator=(InputDeviceImpl const &) = delete; // no assign static Glib::ustring createId(Glib::ustring const &id, Gdk::InputSource source, std::set &knownIDs); -- cgit v1.2.3