summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-22 16:16:23 +0100
committerDavid Robillard <d@drobilla.net>2020-12-22 16:17:56 +0100
commitff49394a00f79d939b45c93a8d8e8a2d9194bfad (patch)
treedb9cbb1af7e1c457c7445b9978239c98b2a8383a
parente13d629c7bcbacba10dee9ca43435affa1b53478 (diff)
downloadsuil-ff49394a00f79d939b45c93a8d8e8a2d9194bfad.tar.gz
suil-ff49394a00f79d939b45c93a8d8e8a2d9194bfad.tar.bz2
suil-ff49394a00f79d939b45c93a8d8e8a2d9194bfad.zip
Use "default"
-rw-r--r--.clang-tidy1
-rw-r--r--src/x11_in_qt5.cpp4
2 files changed, 1 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 83f2392..d19af31 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -5,7 +5,6 @@ Checks: >
-*-no-malloc,
-*-uppercase-literal-suffix,
-*-use-auto,
- -*-use-equals-default,
-*-vararg,
-bugprone-suspicious-string-compare,
-clang-analyzer-core.CallAndMessage,
diff --git a/src/x11_in_qt5.cpp b/src/x11_in_qt5.cpp
index 9298afe..5dd8c9d 100644
--- a/src/x11_in_qt5.cpp
+++ b/src/x11_in_qt5.cpp
@@ -134,9 +134,7 @@ private:
int _ui_timer;
};
-SuilQX11Widget::~SuilQX11Widget()
-{
-}
+SuilQX11Widget::~SuilQX11Widget() = default;
typedef struct {
QWidget* host_widget;