From afaf60c10df47ff759237c7f3dd7b4d761d6bb20 Mon Sep 17 00:00:00 2001 From: Jonathan Hoffstadt Date: Fri, 10 Dec 2021 12:18:53 -0600 Subject: [PATCH] fix: item type string change from 1.1.2 --- DearPyGui/src/core/AppItems/mvAppItem.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DearPyGui/src/core/AppItems/mvAppItem.cpp b/DearPyGui/src/core/AppItems/mvAppItem.cpp index 29990f382..b50fe8fdc 100644 --- a/DearPyGui/src/core/AppItems/mvAppItem.cpp +++ b/DearPyGui/src/core/AppItems/mvAppItem.cpp @@ -1542,16 +1542,13 @@ namespace Marvel { const char* GetEntityTypeString(mvAppItemType type) { - #define Y(el) #el - #define X(el) Y(mvAppItemType:: ## el), + #define X(el) "mvAppItemType::" #el, mv_local_persist const char* entity_type_strings[(size_t)mvAppItemType::ItemTypeCount] = { "All, an error occured", // shouldn't actually occur MV_ITEM_TYPES }; #undef X - #undef Y - return entity_type_strings[(size_t)type]; }