diff --git a/src/ox/claw/write.hpp b/src/ox/claw/write.hpp index b476ecbd9..a809a319a 100644 --- a/src/ox/claw/write.hpp +++ b/src/ox/claw/write.hpp @@ -32,6 +32,11 @@ struct TypeInfoCatcher { this->version = v; } + template + constexpr void setTypeInfo() noexcept { + this->name = T::TypeName; + } + constexpr Error field(...) noexcept { return OxError(0); }