[ox/mc] Fix an unwanted formatting "correction" from Visual Studio
This commit is contained in:
		
							
								
								
									
										2
									
								
								deps/ox/src/ox/mc/read.hpp
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								deps/ox/src/ox/mc/read.hpp
									
									
									
									
										vendored
									
									
								
							@@ -249,7 +249,7 @@ constexpr Error MetalClawReaderTemplate<Reader>::field(const char*, HashMap<Stri
 | 
				
			|||||||
			auto &handler = *reader.interface();
 | 
								auto &handler = *reader.interface();
 | 
				
			||||||
			oxReturnError(handler.setTypeInfo("List", 0, {}, static_cast<std::size_t>(len)));
 | 
								oxReturnError(handler.setTypeInfo("List", 0, {}, static_cast<std::size_t>(len)));
 | 
				
			||||||
			// this loop body needs to be in a lambda because of the potential alloca call
 | 
								// 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));
 | 
									oxRequire(keyLen, handler.stringLength(nullptr));
 | 
				
			||||||
				auto wkey = ox_malloca(keyLen + 1, char, 0);
 | 
									auto wkey = ox_malloca(keyLen + 1, char, 0);
 | 
				
			||||||
				auto wkeyPtr = wkey.get();
 | 
									auto wkeyPtr = wkey.get();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user