diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-10 05:39:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-10 05:39:10 +0100 |
commit | 972275ca9cfbbbe23039c0cecb359420358d8ebf (patch) | |
tree | 77975d0349250c68ecbaf5f094cafee894a10773 /loader/atlas-loader-storage.hpp | |
parent | 25fd6d8eb0ec170ef6fabfb3097fe5f70e42edb8 (diff) |
loader: don't require atlas's Cell pointer to remain constant
The make_cell() thing hasn't been tested yet.
Diffstat (limited to 'loader/atlas-loader-storage.hpp')
-rw-r--r-- | loader/atlas-loader-storage.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/loader/atlas-loader-storage.hpp b/loader/atlas-loader-storage.hpp index a1f2e20d..c8bd3261 100644 --- a/loader/atlas-loader-storage.hpp +++ b/loader/atlas-loader-storage.hpp @@ -12,9 +12,8 @@ struct atlas_storage using Traits = TRAITS; using Cell = typename TRAITS::Cell; - tsl::robin_map<StringView, Cell*, hash_string_view> name_map; + tsl::robin_map<StringView, size_t, hash_string_view> name_map; std::vector<Cell> cell_array; - std::vector<Pointer<Cell>> free_cells; std::vector<String> missing_atlas_names; Pointer<Cell> invalid_atlas; |