From 004e50d84773242a000f5cadb89466bbc793e1a8 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 15 Jun 2018 19:02:56 +0200 Subject: =?UTF-8?q?Run=20clang-tidy=E2=80=99s=20modernize-use-equals-defau?= =?UTF-8?q?lt=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This replaces empty constructors and destructors with the default keyword. --- src/widgets/desktop-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/desktop-widget.cpp') diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 3c15bf3a5..dd46cf58d 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -136,7 +136,7 @@ public: prefs->addObserver(_dpw); prefs->addObserver(_spw); } - virtual ~CMSPrefWatcher() {} + virtual ~CMSPrefWatcher() = default; //virtual void notify(PrefValue &); void add( SPDesktopWidget* dtw ) { -- cgit v1.2.3