From 8d2c8df01469277db06dfc90329106c2ab2e8a25 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 13 Nov 2023 21:53:21 -0600 Subject: [PATCH] [ox/mc] Fix an unwanted formatting "correction" from Visual Studio --- deps/ox/src/ox/mc/read.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/mc/read.hpp b/deps/ox/src/ox/mc/read.hpp index b2c01e7c..a6107e1d 100644 --- a/deps/ox/src/ox/mc/read.hpp +++ b/deps/ox/src/ox/mc/read.hpp @@ -249,7 +249,7 @@ constexpr Error MetalClawReaderTemplate::field(const char*, HashMap(len))); // this loop body needs to be in a lambda because of the potential alloca call - constexpr auto loopBody = [](auto& handler, auto &val) { + constexpr auto loopBody = [](auto &handler, auto &val) { oxRequire(keyLen, handler.stringLength(nullptr)); auto wkey = ox_malloca(keyLen + 1, char, 0); auto wkeyPtr = wkey.get();