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.inl10
1 files changed, 5 insertions, 5 deletions
diff --git a/loader/atlas-loader.inl b/loader/atlas-loader.inl
index 8b5f9595..55691597 100644
--- a/loader/atlas-loader.inl
+++ b/loader/atlas-loader.inl
@@ -131,13 +131,13 @@ auto atlas_loader<ATLAS, TRAITS>::get_atlas(StringView name, const loader_policy
}
}
}
- else if (Optional<Cell> c_{t.make_cell(name)})
+ else if (Optional<Cell> cʹ{t.make_cell(name)})
{
- fm_assert(t.name_of(*c_));
- fm_assert(!t.atlas_of(*c_));
- fm_assert(t.name_of(*c_) == name);
+ fm_assert(t.name_of(*cʹ));
+ fm_assert(!t.atlas_of(*cʹ));
+ fm_assert(t.name_of(*cʹ) == name);
const size_t index{s.cell_array.size()};
- arrayAppend(s.cell_array, move(*c_));
+ arrayAppend(s.cell_array, move(*cʹ));
Cell& c{s.cell_array.back()};
String& name_{t.name_of(c)};
if (name_.isSmall()) name_ = String{AllocatedInit, name_};