[ox/model] Restore assert in modelFieldCount
This commit is contained in:
parent
f6d2d96ff9
commit
77e475980d
2
deps/ox/src/ox/model/fieldcounter.hpp
vendored
2
deps/ox/src/ox/model/fieldcounter.hpp
vendored
@ -67,7 +67,7 @@ consteval auto modelFieldCount() noexcept {
|
|||||||
auto t = a.allocate(1);
|
auto t = a.allocate(1);
|
||||||
detail::FieldCounter<T> c;
|
detail::FieldCounter<T> c;
|
||||||
const auto err = model(&c, t);
|
const auto err = model(&c, t);
|
||||||
//oxAssert(err, "Count failed");
|
oxAssert(err, "Count failed");
|
||||||
a.deallocate(t, 1);
|
a.deallocate(t, 1);
|
||||||
return c.fields;
|
return c.fields;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user