From ff3122c74dc20a68151c5d42cc8bf27c3926c540 Mon Sep 17 00:00:00 2001 From: chatlanin Date: Sun, 6 Apr 2025 13:49:40 +0300 Subject: [PATCH] fix imgui update --- src/event/event.hpp | 4 ++-- src/utils/include.hpp | 1 + subprojects/imgui.wrap | 17 +++++++++-------- 3 files changed, 12 insertions(+), 10 deletions(-) mode change 100755 => 100644 subprojects/imgui.wrap diff --git a/src/event/event.hpp b/src/event/event.hpp index d285faa..554ec30 100755 --- a/src/event/event.hpp +++ b/src/event/event.hpp @@ -56,9 +56,9 @@ namespace VE m_funcs[i](e); } } - catch(std::exception& e) + catch(const std::exception& ex) { - hack::error()(e.what()); + hack::error()(ex.what()); hack::log()("size funcs", m_funcs.size()); } catch(...) diff --git a/src/utils/include.hpp b/src/utils/include.hpp index 0ffb320..a584e08 100755 --- a/src/utils/include.hpp +++ b/src/utils/include.hpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/subprojects/imgui.wrap b/subprojects/imgui.wrap old mode 100755 new mode 100644 index c60d1a4..04720e6 --- a/subprojects/imgui.wrap +++ b/subprojects/imgui.wrap @@ -1,12 +1,13 @@ [wrap-file] -directory = imgui-1.87 -source_url = https://github.com/ocornut/imgui/archive/refs/tags/v1.87.tar.gz -source_filename = imgui-1.87.tar.gz -source_hash = b54ceb35bda38766e36b87c25edf7a1cd8fd2cb8c485b245aedca6fb85645a20 -patch_filename = imgui_1.87-4_patch.zip -patch_url = https://wrapdb.mesonbuild.com/v2/imgui_1.87-4/get_patch -patch_hash = a008fc446e8c09c5a6c985ba94d4ffe04534f8c805f2805afdd0ba17ea6c73f5 -wrapdb_version = 1.87-4 +directory = imgui-1.91.6 +source_url = https://github.com/ocornut/imgui/archive/refs/tags/v1.91.6.tar.gz +source_filename = imgui-1.91.6.tar.gz +source_hash = c5fbc5dcab1d46064001c3b84d7a88812985cde7e0e9ced03f5677bec1ba502a +patch_filename = imgui_1.91.6-2_patch.zip +patch_url = https://wrapdb.mesonbuild.com/v2/imgui_1.91.6-2/get_patch +patch_hash = 515e31b18e3928aafce2c62c94fa6d8426f5132e9c3f2d9951b7e96b6381f33a +source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/imgui_1.91.6-2/imgui-1.91.6.tar.gz +wrapdb_version = 1.91.6-2 [provide] imgui = imgui_dep