[ox/model] Restore assert in modelFieldCount

(synced from 77e475980d)
This commit is contained in:
2023-11-11 23:30:34 -06:00
parent 5c8b39b21e
commit c9f96c1920
+1 -1
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;
}