From 3f92832a6f2a2479dc97024c827cf8eed6b1ebe7 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 25 Apr 2025 22:50:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8D=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=9A=84IndexedList<>::Exchange?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/hgl/type/IndexedList.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/inc/hgl/type/IndexedList.h b/inc/hgl/type/IndexedList.h index 2e47296..543358f 100644 --- a/inc/hgl/type/IndexedList.h +++ b/inc/hgl/type/IndexedList.h @@ -278,14 +278,6 @@ namespace hgl return !(index<0||index>=data_index.GetCount()); } - virtual void Exchange(int32 a,int32 b) - { - if(!IsValidIndex(a))return; - if(!IsValidIndex(b))return; - - data_index.Exchange(a,b); - } - virtual bool Insert(int32 pos,const T &value) { if(pos<0)return(false);