From 1693158ce3aac559e282e4297643fb87eea35520 Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 7 Oct 2009 17:21:24 +0000 Subject: [PATCH] Core: Array::AppendPick fixed git-svn-id: svn://ultimatepp.org/upp/trunk@1615 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Vcont.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Vcont.h b/uppsrc/Core/Vcont.h index 49ee012f2..7a09d2f6e 100644 --- a/uppsrc/Core/Vcont.h +++ b/uppsrc/Core/Vcont.h @@ -171,7 +171,7 @@ public: void Append(const Array& x) { Insert(GetCount(), x); } void Append(const Array& x, int o, int c) { Insert(GetCount(), x, o, c); } void InsertPick(int i, pick_ Array& x) { vector.InsertPick(i, x.vector); } - void AppendPick(pick_ Array& x) { Insert(GetCount(), x); } + void AppendPick(pick_ Array& x) { InsertPick(GetCount(), x); } int GetIndex(const T& item) const; void Swap(int i1, int i2) { UPP::Swap(vector[i1], vector[i2]); } void Move(int i1, int i2);