From 1dddf4ad9deb2c87170fb5ebf9ff8b19b5ccc920 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 10 Jul 2022 21:35:35 -0500 Subject: [PATCH] [ox] MSVC fixes --- deps/ox/src/ox/claw/write.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deps/ox/src/ox/claw/write.hpp b/deps/ox/src/ox/claw/write.hpp index b476ecbd..a809a319 100644 --- a/deps/ox/src/ox/claw/write.hpp +++ b/deps/ox/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); }