summaryrefslogtreecommitdiffhomepage
path: root/loader/atlas-loader.inl
diff options
context:
space:
mode:
Diffstat (limited to 'loader/atlas-loader.inl')
-rw-r--r--loader/atlas-loader.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/atlas-loader.inl b/loader/atlas-loader.inl
index 78bafaac..3a07f2ab 100644
--- a/loader/atlas-loader.inl
+++ b/loader/atlas-loader.inl
@@ -24,12 +24,12 @@ template<typename TRAITS>
atlas_loader(TRAITS&& traits) noexcept -> atlas_loader<TRAITS, typename TRAITS::Atlas>;
template<typename ATLAS, typename TRAITS>
-auto atlas_loader<ATLAS, TRAITS>::ensure_atlas_list() -> ArrayView<const Cell>
+auto atlas_loader<ATLAS, TRAITS>::atlas_list() -> ArrayView<const Cell>
{
if (!s.name_map.empty()) [[likely]]
return { s.cell_array.data(), s.cell_array.size() };
- t.load_atlas_list(s);
+ t.atlas_list(s);
for (Cell& c : s.cell_array)
{
@@ -64,7 +64,7 @@ auto atlas_loader<ATLAS, TRAITS>::ensure_atlas_list() -> ArrayView<const Cell>
template<typename ATLAS, typename TRAITS>
const std::shared_ptr<ATLAS>& atlas_loader<ATLAS, TRAITS>::get_atlas(StringView name, loader_policy p)
{
- ensure_atlas_list();
+ atlas_list();
const std::shared_ptr<Atlas>& invalid_atlas = t.atlas_of(get_invalid_atlas());
switch (p)