diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-13 07:02:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-13 07:02:14 +0100 |
commit | 9b70fb78e70a509ba5bfa1c1d0a839eddd0902dc (patch) | |
tree | 8b662923591c273e8761787d3e74f3b659606c07 /loader/atlas-loader-storage.hpp | |
parent | 985ce7d9b033d16f49170af8505af46ddcf29081 (diff) |
wip atlas
Diffstat (limited to 'loader/atlas-loader-storage.hpp')
-rw-r--r-- | loader/atlas-loader-storage.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loader/atlas-loader-storage.hpp b/loader/atlas-loader-storage.hpp index aea94e48..f18b7756 100644 --- a/loader/atlas-loader-storage.hpp +++ b/loader/atlas-loader-storage.hpp @@ -3,6 +3,7 @@ #include "atlas-loader-fwd.hpp" #include <vector> #include <cr/StringView.h> +#include <cr/Optional.h> #include <tsl/robin_map.h> namespace floormat::loader_detail { @@ -19,7 +20,7 @@ struct atlas_storage tsl::robin_map<StringView, size_t, hash_string_view> name_map; std::vector<Cell> cell_array; std::vector<String> missing_atlas_names; - Pointer<Cell> invalid_atlas; + Optional<Cell> invalid_atlas; ~atlas_storage() noexcept = default; }; |