소스 검색

Internals: removed obsolete ImPool::GetSize() (last used by implot 0.10, changed in implot 0.11)

ocornut 1 년 전
부모
커밋
d431d85839
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      imgui_internal.h

+ 0 - 3
imgui_internal.h

@@ -690,9 +690,6 @@ struct ImPool
     int         GetBufSize() const                  { return Buf.Size; }
     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
     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); }
     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<>
 // Helper: ImChunkStream<>