From d431d85839b507a9c9041b0e28de7c2443976292 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 17 Jan 2024 15:33:12 +0100 Subject: [PATCH] Internals: removed obsolete ImPool::GetSize() (last used by implot 0.10, changed in implot 0.11) --- imgui_internal.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/imgui_internal.h b/imgui_internal.h index e909594f8..c96e2a564 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -690,9 +690,6 @@ struct ImPool int GetBufSize() const { return Buf.Size; } int GetMapSize() const { return Map.Data.Size; } // It is the map we need iterate to find valid items, since we don't have "alive" storage anywhere T* TryGetMapData(ImPoolIdx n) { int idx = Map.Data[n].val_i; if (idx == -1) return NULL; return GetByIndex(idx); } -#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS - int GetSize() { return GetMapSize(); } // For ImPlot: should use GetMapSize() from (IMGUI_VERSION_NUM >= 18304) -#endif }; // Helper: ImChunkStream<>