From a9055d6e8742eabb7b12b31322157edfc21fe1bd Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Thu, 11 Jan 2024 10:44:07 +0100 Subject: [PATCH] - coding style --- snapper/AsciiFile.cc | 4 +--- snapper/File.cc | 4 +--- snapper/Snapshot.cc | 8 ++------ 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/snapper/AsciiFile.cc b/snapper/AsciiFile.cc index 189b292a..ab917316 100644 --- a/snapper/AsciiFile.cc +++ b/snapper/AsciiFile.cc @@ -397,9 +397,7 @@ namespace snapper } - AsciiFileReader::~AsciiFileReader() - { - } + AsciiFileReader::~AsciiFileReader() = default; bool diff --git a/snapper/File.cc b/snapper/File.cc index ce45448d..a863b9ae 100644 --- a/snapper/File.cc +++ b/snapper/File.cc @@ -87,9 +87,7 @@ namespace snapper } - Files::~Files() - { - } + Files::~Files() = default; void diff --git a/snapper/Snapshot.cc b/snapper/Snapshot.cc index 15f26bad..809685f0 100644 --- a/snapper/Snapshot.cc +++ b/snapper/Snapshot.cc @@ -87,9 +87,7 @@ namespace snapper } - Snapshot::~Snapshot() - { - } + Snapshot::~Snapshot() = default; // Directory containing the actual content of the snapshot. @@ -240,9 +238,7 @@ namespace snapper } - Snapshots::~Snapshots() - { - } + Snapshots::~Snapshots() = default; void -- 2.47.3