aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-28 19:22:06 +0200
committerHampusM <hampus@hampusmat.com>2022-06-28 19:22:06 +0200
commitd2a76bd8cfd883070259bf572a9f723a37c0d96e (patch)
treecca72b471b0c3a562789a1ab966e4568edf7165a /src/interfaces
parentdaf39f75d764449f18cd480b6d3c645b8372b0a5 (diff)
refactor: improve includes with iwyu
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/RLE_reader.hpp1
-rw-r--r--src/interfaces/generation_tracker.hpp3
-rw-r--r--src/interfaces/scene.hpp1
-rw-r--r--src/interfaces/status_manager.hpp1
4 files changed, 2 insertions, 4 deletions
diff --git a/src/interfaces/RLE_reader.hpp b/src/interfaces/RLE_reader.hpp
index a3266a8..9cc6722 100644
--- a/src/interfaces/RLE_reader.hpp
+++ b/src/interfaces/RLE_reader.hpp
@@ -16,4 +16,3 @@ public:
[[nodiscard]] virtual auto read_RLE_file(const std::filesystem::path &path) const
-> std::unique_ptr<IMatrix<MatrixElement>> = 0;
};
-
diff --git a/src/interfaces/generation_tracker.hpp b/src/interfaces/generation_tracker.hpp
index 5f9bd13..291fbbc 100644
--- a/src/interfaces/generation_tracker.hpp
+++ b/src/interfaces/generation_tracker.hpp
@@ -11,7 +11,8 @@ class IGenerationTracker
public:
virtual ~IGenerationTracker() noexcept = default;
- [[nodiscard]] virtual auto get_current_generation() const noexcept -> std::uint32_t = 0;
+ [[nodiscard]] virtual auto get_current_generation() const noexcept
+ -> std::uint32_t = 0;
virtual void set_current_generation(std::uint32_t current_generation) noexcept = 0;
diff --git a/src/interfaces/scene.hpp b/src/interfaces/scene.hpp
index b7bb97d..d43a8e2 100644
--- a/src/interfaces/scene.hpp
+++ b/src/interfaces/scene.hpp
@@ -36,4 +36,3 @@ public:
[[nodiscard]] virtual auto get_components() const noexcept
-> std::vector<std::pair<std::shared_ptr<IComponent>, Vector2>> = 0;
};
-
diff --git a/src/interfaces/status_manager.hpp b/src/interfaces/status_manager.hpp
index 7744eb6..29750d6 100644
--- a/src/interfaces/status_manager.hpp
+++ b/src/interfaces/status_manager.hpp
@@ -21,4 +21,3 @@ public:
const StatusLineSection &section,
const std::string_view &body) noexcept = 0;
};
-