[ox/model] Restore assert in modelFieldCount

This commit is contained in:
Gary Talent 2023-11-11 23:30:34 -06:00
parent f6d2d96ff9
commit 77e475980d

View File

@ -67,7 +67,7 @@ consteval auto modelFieldCount() noexcept {
auto t = a.allocate(1);
detail::FieldCounter<T> c;
const auto err = model(&c, t);
//oxAssert(err, "Count failed");
oxAssert(err, "Count failed");
a.deallocate(t, 1);
return c.fields;
}