From 77bc18129bd2476337d1688ae4efd48233b56306 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 29 Jul 2021 23:33:09 -0500 Subject: [PATCH] [ox/oc] Remove setTypeInfo invocation from OC write --- deps/ox/src/ox/oc/write.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/deps/ox/src/ox/oc/write.hpp b/deps/ox/src/ox/oc/write.hpp index dbdd5678..21b6fc36 100644 --- a/deps/ox/src/ox/oc/write.hpp +++ b/deps/ox/src/ox/oc/write.hpp @@ -149,7 +149,6 @@ Error OrganicClawWriter::field(const char *key, HashMap *val) noexcep template Result writeOC(T *val) noexcept { OrganicClawWriter writer; - writer.template setTypeInfo(); oxReturnError(model(&writer, val)); Json::StreamWriterBuilder jsonBuilder; const auto str = Json::writeString(jsonBuilder, writer.m_json);