summaryrefslogtreecommitdiffhomepage
path: root/loader/ground-traits.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-10 22:27:12 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-11 08:49:51 +0100
commitb8c538bcdfdcc7f2739934ea96fe98ae61b565dc (patch)
tree0f95cdb213569328f3d4f94eb91fc89cfaae2a91 /loader/ground-traits.cpp
parent92c17482e7a758ff2690519932193e85856a159e (diff)
style fix
Diffstat (limited to 'loader/ground-traits.cpp')
-rw-r--r--loader/ground-traits.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/loader/ground-traits.cpp b/loader/ground-traits.cpp
index 14f30623..61df7831 100644
--- a/loader/ground-traits.cpp
+++ b/loader/ground-traits.cpp
@@ -1,12 +1,11 @@
#include "ground-traits.hpp"
-#include "compat/assert.hpp"
-#include "compat/exception.hpp"
-#include "compat/vector-wrapper.hpp"
#include "atlas-loader-storage.hpp"
#include "ground-cell.hpp"
#include "loader.hpp"
#include "src/tile-defs.hpp"
#include "src/ground-atlas.hpp"
+#include "compat/assert.hpp"
+#include "compat/vector-wrapper.hpp"
#include <cr/Optional.h>
#include <Corrade/Containers/StringView.h>
#include <Corrade/Containers/Pointer.h>
@@ -16,7 +15,6 @@
namespace floormat::loader_detail {
using ground_traits = atlas_loader_traits<ground_atlas>;
-
StringView ground_traits::loader_name() { return "ground_atlas"_s; }
auto ground_traits::atlas_of(const Cell& x) -> const std::shared_ptr<Atlas>& { return x.atlas; }
auto ground_traits::atlas_of(Cell& x) -> std::shared_ptr<Atlas>& { return x.atlas; }