From 1f7b2a3d2d56cf9d462d69000d6f6bcead514711 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 4 May 2022 11:38:42 +0200 Subject: [PATCH] [libcalamares] Remove CommandList destructor The destructor was just the default one, but declaring it blocks the default copy constructor. --- src/libcalamares/utils/CommandList.cpp | 2 -- src/libcalamares/utils/CommandList.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/libcalamares/utils/CommandList.cpp b/src/libcalamares/utils/CommandList.cpp index 6a743877a..7e1f42d22 100644 --- a/src/libcalamares/utils/CommandList.cpp +++ b/src/libcalamares/utils/CommandList.cpp @@ -150,8 +150,6 @@ CommandList::CommandList::CommandList( const QVariant& v, bool doChroot, std::ch } } -CommandList::~CommandList() {} - Calamares::JobResult CommandList::run() { diff --git a/src/libcalamares/utils/CommandList.h b/src/libcalamares/utils/CommandList.h index 3135b9b3c..586b04ed3 100644 --- a/src/libcalamares/utils/CommandList.h +++ b/src/libcalamares/utils/CommandList.h @@ -85,7 +85,6 @@ public: /** @brief empty command-list with timeout to apply to entries. */ CommandList( bool doChroot = true, std::chrono::seconds timeout = std::chrono::seconds( 10 ) ); CommandList( const QVariant& v, bool doChroot = true, std::chrono::seconds timeout = std::chrono::seconds( 10 ) ); - ~CommandList(); bool doChroot() const { return m_doChroot; }