diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:58:04 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:52 +0100 |
commit | c9201b59713f400c72f5a160c2e858987d466351 (patch) | |
tree | 9156af05a44d811cbd62dd3bbf5ce9fe83ecf876 | |
parent | 63ea7bd21da8204f7fe5ab9caaf54028cf7cb40c (diff) | |
download | patchage-c9201b59713f400c72f5a160c2e858987d466351.tar.gz patchage-c9201b59713f400c72f5a160c2e858987d466351.tar.bz2 patchage-c9201b59713f400c72f5a160c2e858987d466351.zip |
Use default for empty destructor
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | src/PatchagePort.hpp | 4 |
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 |