[ox] Make model TypeVersion mandatory so Claw can do version checking
This commit is contained in:
7
deps/ox/src/ox/model/metadata.hpp
vendored
7
deps/ox/src/ox/model/metadata.hpp
vendored
@@ -19,7 +19,6 @@
|
||||
#include "desctypes.hpp"
|
||||
#include "fieldcounter.hpp"
|
||||
#include "optype.hpp"
|
||||
#include "typenamecatcher.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
namespace ox::detail {
|
||||
@@ -37,6 +36,10 @@ struct preloadable<T, BoolWrapper<T::Preloadable>> {
|
||||
static constexpr bool value = T::Preloadable;
|
||||
};
|
||||
|
||||
template<int>
|
||||
struct IntWrapper {
|
||||
};
|
||||
|
||||
// cannot be done until C++20
|
||||
//struct PseudoString {
|
||||
// constexpr PseudoString(const char* = "") noexcept {}
|
||||
@@ -56,4 +59,4 @@ struct preloadable<T, BoolWrapper<T::Preloadable>> {
|
||||
// static constexpr const char *value = T::TypeName;
|
||||
//};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user