diff --git a/deps/ox/src/ox/claw/write.hpp b/deps/ox/src/ox/claw/write.hpp index 0dc60d91..e7534d9c 100644 --- a/deps/ox/src/ox/claw/write.hpp +++ b/deps/ox/src/ox/claw/write.hpp @@ -23,7 +23,7 @@ struct TypeInfoCatcher { const char *name = nullptr; - template + template 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