From 55231bb8d3e1a4e2752ac3d444c4287eb0ca4e8b Mon Sep 17 00:00:00 2001 From: void_17 <61356189+void2012@users.noreply.github.com> Date: Fri, 6 Mar 2026 02:11:18 +0700 Subject: Remove AUTO_VAR macro and _toString function (#592) --- Minecraft.World/RecordingItem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Minecraft.World/RecordingItem.cpp') diff --git a/Minecraft.World/RecordingItem.cpp b/Minecraft.World/RecordingItem.cpp index 3b501899..455323c2 100644 --- a/Minecraft.World/RecordingItem.cpp +++ b/Minecraft.World/RecordingItem.cpp @@ -66,8 +66,8 @@ void RecordingItem::registerIcons(IconRegister *iconRegister) RecordingItem *RecordingItem::getByName(const wstring &name) { - AUTO_VAR(it,BY_NAME.find(name)); - if(it != BY_NAME.end()) + auto it = BY_NAME.find(name); + if(it != BY_NAME.end()) { return it->second; } -- cgit v1.2.3