summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-12-02 20:42:58 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2022-06-06 10:21:43 +0200
commit1523880f97eab00120c029d55bab47252f31f166 (patch)
treec9c8e5c741ffc218ba09155aa7115a64bd4cfde5
parenta24b4475feca21444e290f54d963a1587553d883 (diff)
Add missing virtual destructors.
-rw-r--r--src/task_ar.h1
-rw-r--r--src/task_cc.h1
-rw-r--r--src/task_ld.h1
-rw-r--r--src/task_so.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/task_ar.h b/src/task_ar.h
index f540fef..d021a2e 100644
--- a/src/task_ar.h
+++ b/src/task_ar.h
@@ -22,6 +22,7 @@ public:
const std::string& target,
const std::vector<std::string>& objects,
const std::string& sourcePath);
+ virtual ~TaskAR() = default;
bool dirtyInner() override;
diff --git a/src/task_cc.h b/src/task_cc.h
index c309abd..4ba5679 100644
--- a/src/task_cc.h
+++ b/src/task_cc.h
@@ -20,6 +20,7 @@ public:
TaskCC(const BuildConfiguration& config,
const Settings& settings,
const std::string& sourceDir, const Source& source);
+ virtual ~TaskCC() = default;
std::string name() const override;
bool dirtyInner() override;
diff --git a/src/task_ld.h b/src/task_ld.h
index 516641f..08d5a22 100644
--- a/src/task_ld.h
+++ b/src/task_ld.h
@@ -22,6 +22,7 @@ public:
const std::string& target,
const std::vector<std::string>& objects,
const std::string& sourcePath);
+ virtual ~TaskLD() = default;
bool dirtyInner() override;
diff --git a/src/task_so.h b/src/task_so.h
index a249421..abd43c4 100644
--- a/src/task_so.h
+++ b/src/task_so.h
@@ -22,6 +22,7 @@ public:
const std::string& target,
const std::vector<std::string>& objects,
const std::string& sourcePath);
+ virtual ~TaskSO() = default;
bool dirtyInner() override;