summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.clang-tidy1
-rw-r--r--src/PatchagePort.hpp4
2 files changed, 2 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 1dd6c2c..2207251 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -9,7 +9,6 @@ Checks: >
-*-special-member-functions,
-*-unused-macros,
-*-uppercase-literal-suffix,
- -*-use-equals-default,
-*-use-override,
-*-vararg,
-bugprone-branch-clone,
diff --git a/src/PatchagePort.hpp b/src/PatchagePort.hpp
index 5bbcd13..68ab873 100644
--- a/src/PatchagePort.hpp
+++ b/src/PatchagePort.hpp
@@ -1,5 +1,5 @@
/* This file is part of Patchage.
- * Copyright 2007-2014 David Robillard <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* Patchage is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -60,7 +60,7 @@ public:
signal_event().connect(sigc::mem_fun(this, &PatchagePort::on_event));
}
- virtual ~PatchagePort() {}
+ virtual ~PatchagePort() = default;
/** Returns the full name of this port, as "modulename:portname" */
std::string full_name() const