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 f5cd39ea..c1093f82 100644
--- a/loader/atlas-loader.inl
+++ b/loader/atlas-loader.inl
@@ -50,12 +50,12 @@ auto atlas_loader<ATLAS, TRAITS>::ensure_atlas_list() -> ArrayView<const Cell>
s.name_map[loader.INVALID] = sz;
}
- fm_assert(!s.name_map.empty());
- fm_assert(!s.cell_array.empty());
-
for (const auto& [name, index] : s.name_map)
fm_assert(index < s.cell_array.size() || index == -1uz);
+ fm_debug_assert(!s.name_map.empty());
+ fm_debug_assert(!s.cell_array.empty());
+
return { s.cell_array.data(), s.cell_array.size() };
}