[ox/claw] Fix TypeInfoCatcher to fit model handler API

This commit is contained in:
Gary Talent 2020-05-29 20:24:09 -05:00
parent 98a0c42040
commit 4d806021d0

View File

@ -23,7 +23,7 @@ struct TypeInfoCatcher {
const char *name = nullptr;
template<typename T>
template<typename T = void>
constexpr void setTypeInfo(const char *name = T::TypeName, int = T::Fields) noexcept {
this->name = name;
}
@ -32,6 +32,10 @@ struct TypeInfoCatcher {
return OxError(0);
}
static constexpr auto opType() {
return OpType::Write;
}
};
template<typename T>