[ox] Make model TypeVersion mandatory so Claw can do version checking
This commit is contained in:
2
deps/ox/src/ox/claw/write.hpp
vendored
2
deps/ox/src/ox/claw/write.hpp
vendored
@ -26,7 +26,7 @@ struct TypeInfoCatcher {
|
||||
const char *name = nullptr;
|
||||
|
||||
template<typename T = void>
|
||||
constexpr void setTypeInfo(const char *name = T::TypeName, int = T::Fields) noexcept {
|
||||
constexpr void setTypeInfo(const char *name = T::TypeName, int = T::TypeVersion) noexcept {
|
||||
this->name = name;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user