summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-12-02 20:42:27 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-12-02 20:42:27 +0100
commit7602f4c3a736b9ff409aab6d7633c5f1531e2254 (patch)
treed5e305f52f125a913a855ef9df1ab5a7999a74fc
parent0855b2177b62fa719eff6643e3b433c41eecf142 (diff)
Fix Settings forward declarations to be struct.
-rw-r--r--src/rebuild.h2
-rw-r--r--src/tasks.h4
-rw-r--r--src/unittest.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/rebuild.h b/src/rebuild.h
index 0845d30..a217533 100644
--- a/src/rebuild.h
+++ b/src/rebuild.h
@@ -8,7 +8,7 @@
#include "libctor.h"
-class Settings;
+struct Settings;
struct BuildConfigurationEntry
{
diff --git a/src/tasks.h b/src/tasks.h
index f2a77d4..40a1ffa 100644
--- a/src/tasks.h
+++ b/src/tasks.h
@@ -10,8 +10,8 @@
#include "task.h"
-class BuildConfiguration;
-class Settings;
+struct BuildConfiguration;
+struct Settings;
struct Target
{
diff --git a/src/unittest.h b/src/unittest.h
index 7eef0e2..8e2d2ea 100644
--- a/src/unittest.h
+++ b/src/unittest.h
@@ -7,7 +7,7 @@
#include <memory>
class Task;
-class Settings;
+struct Settings;
int runUnitTests(std::list<std::shared_ptr<Task>>& tasks,
const Settings& settings);