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/trace/siox.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/trace/siox.cpp') diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp index 9501da3c4..e82f272ab 100644 --- a/src/trace/siox.cpp +++ b/src/trace/siox.cpp @@ -308,15 +308,9 @@ public: indexMinFg = other.indexMinFg; } Tupel &operator=(const Tupel &other) - { - minBgDist = other.minBgDist; - indexMinBg = other.indexMinBg; - minFgDist = other.minFgDist; - indexMinFg = other.indexMinFg; - return *this; - } + = default; virtual ~Tupel() - {} + = default; float minBgDist; long indexMinBg; -- cgit v1.2.3